This content has been marked as final. Show 2 replies
Andreas Weiden wrote:Thank you Andreas for your reply. Actually the "help" clearly mentions that the initial values are populated during a "Create record" event, and the forms just does that. Ie, when the forms loads, the single block is in data entry mode.
In my eyes you have two choices:
1. Check if you are on the latest patchset for forms6i and if not, apply that.
2. Try another way to initialize the Defaults, maybe using globals.
You delete the first record, and a create record trigger is fired and the initial values are populated into the columns :)
We are using Developer 6i with patch 18, which is the latest for client server architecture we believe or we are informed.
Our curiosity it all about why two different versions of developer suite treats the same requirement different ways. 10g forms just populate the initial values while the form loads, when 6i forms doesn't.
Anyway, after some goof ups, we are assigning the values to column during the FORM load, using WHEN-NEW-FORM-INSTANCE trigger and it does what we want :)
Thanks once again