Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to insert the current timestamp only when the record is created

christian41936Sep 29 2008 — edited Sep 29 2008
hi,

I am relatively new to APEX and I don't know very much the tips and tricks of it.

I am using a Master/detail form and I want to insert the current timestamp into a database colum ONLY at the moment when the record is created. This will serve as a "creation date". But unfortunately when I update the record (using the form), APIEX automaticallly updates the column with the current timestamp.

This column is a TIMESTAMP type. It is updatted with an item named P42_DATE_CREATION which is Hidden and protected. "Source Type" of the item is DATABASE COLUMN. Alternate Source is "DATE_CREATION".

How to do to write only one time, at creation, the value of the current time stamp instead of beign updated every time the record is edited (I mean the form is updated).

Thank you for your kind help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 27 2008
Added on Sep 29 2008
4 comments
2,047 views