Update USER/SYSDATE from FORM [message #240893] |
Sun, 27 May 2007 06:15 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
bbaz
Messages: 138 Registered: April 2007
|
Senior Member |
|
|
Hi all,
I have a form that has a BLOCK with 4 database items. 2 items are displayed and 2 other items (USER db item, DATE db item) are not displayed.
When I update the other items from the FORM, I want to also update the USER (database column) and the DATE ($$DATE$$). I have set Initial Values for both items and both have the Column Name property set to the proper Database Table Field. But still it is NOT updating those 2 fields in the Table???
I have a "WHEN-BUTTON-PRESSED" trigger on a submit button, just to commit.
Can someone tell me the trick?
thanks
|
|
|
|
Re: Update USER/SYSDATE from FORM [message #240956 is a reply to message #240913] |
Mon, 28 May 2007 01:09 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
bbaz
Messages: 138 Registered: April 2007
|
Senior Member |
|
|
Littlefoot,
You're the man, this for sure works. But I thought that as long as the Items belong to a DB block and although these items are not Displayed (but have default INITTIAL VALUE) then when the Record is UPDATED it should update the related Database Fields for the User and Date with the initial values. I thought that it should work without the PRE-UPDATE trigger.
Thanks again buddy.
Regards
|
|
|