Skip to Main Content

Oracle Forms

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!

Copy Function, Name In Function - Question

sharpeFeb 22 2010 — edited Feb 22 2010
I'm attempting to use the following code in a When-New-Item Instance trigger to set this Date item to the current date:

copy(sysdate, name_in('system.current_block')||'.'||name_in('system.current_item'));


The Date item has the format mask of 'mm/dd/yyyy'. The problem is that the value is coming back as '02/22/0010' instead of '02/22/2010'. What am I doing wrong?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 22 2010
Added on Feb 22 2010
4 comments
2,142 views