Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Initialize Date Variables??

Status
Not open for further replies.

unackvi

Programmer
Joined
Aug 18, 2004
Messages
5
Location
US
If I need to set the date variable to null OR initialize, what's the format...for other types its easy e.g. we just set it to 0 for integer/long and for string to ''.
I have these date fields on my datawindow, under a particular condition I need to clear them and I don't know how.
thanks,
unackvi
 
date ld_mydate // at this point the date is '01-01-1900'

Setnull(ld_date) // now the date is null
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top