display date? [message #82093] |
Tue, 22 April 2003 09:45 |
Anand
Messages: 161 Registered: August 1999
|
Senior Member |
|
|
hi
how to display date in a text box when the form get loaded. I mean to say with "When_New_Block_Instance"
event.
|
|
|
|
Re: display date? [message #82133 is a reply to message #82093] |
Sat, 26 April 2003 01:13 |
LALA
Messages: 18 Registered: August 2002
|
Junior Member |
|
|
1st option:
put this code in the trigger..
:datablockname.textitem_name : = to_char(sysdate,'DD-MON-YY');
WHERE:
datablockname= name of the datablock where the text item that will display the date belongs
textitem_name = name of your text item
2nd option:
on "initial value property" of the text item, type this $$DATE$$.
Be sure that the text item data type is set to Date.
Good luck
|
|
|