I'm running a master form and I query records. Then I click on a button which then passes the primary ID by calling a detailed form. If based on the primary ID (which is the foreign key to the detailed form), there are no records, then I populate certain columns with default data from the master form.
If there are records, then I just go to the block and query all the records via EXECUTE_QUERY.
Now here's the twist. If I were to immediately exit the form, Oracle Forms prompts me "Do you want to save the changes you have made?" Well I haven't made any changes. Using a tool called SQL Monitor here are the statments <B>AFTER</B> Forms executes the query:
SELECT ROWID, qtr_asof, qtr,
earned_start_date, earned_end_date,
summary_descr, cust_value,
amgen_value, comments, cre_user,
cre_date, upd_user, upd_date,
offline_req_sid, SID
FROM pmt_offline_req_lines
ORDER BY earned_start_date DESC;
SELECT qtr_asof, qtr,
earned_start_date, earned_end_date,
summary_descr, cust_value,
amgen_value, comments, cre_user,
cre_date, upd_user, upd_date,
offline_req_sid, SID
FROM pmt_offline_req_lines
WHERE ROWID = 'AAAg1IAAFAAB6BQAAA'
FOR UPDATE OF qtr_asof NOWAIT;
Why would Forms immediately set this block to "CHANGED" status by locking the row for update?
Thanks, I'm really stumped by this one.
Forms [32 Bit] Version 6.0.8.18.3 (Production)
Oracle8i Enterprise Edition Release 8.1.6.2.0 - Production
With the Partitioning option
JServer Release 8.1.6.2.0 - Production
Oracle Toolkit Version 6.0.8.18.0 (Production)
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.17.0 Build #863 - Production
PL/SQL Editor (c) WinMain Software (
www.winmain.com), v1.0 (Production)
Giovanni Jaramillo
Oracle Developer Contractor
AMGEN Inc. - Sales & Marketing Information Systems
Thousand Oaks, CA 91320-1799
http://www.amgen.comStart Free Trial