Home » Developer & Programmer » Forms » display date?
display date? [message #82093] Tue, 22 April 2003 09:45 Go to next message
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 #82121 is a reply to message #82093] Fri, 25 April 2003 03:02 Go to previous messageGo to next message
Jayasri
Messages: 28
Registered: July 2000
Junior Member
in Pre-Form,

assign sysdate to the text item.
Re: display date? [message #82133 is a reply to message #82093] Sat, 26 April 2003 01:13 Go to previous message
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
Previous Topic: How do I insert to a checked box into a table
Next Topic: commiting multiple blocks
Goto Forum:
  


Current Time: Fri Apr 26 07:32:15 CDT 2024