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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Textbox null value not being recognised 1

Status
Not open for further replies.

Frank72

Technical User
Nov 13, 2001
57
IE
Hows it going?

i have a text box with a date format. in a code module i have "if txtdateupto = null then" when i debug and the text box is left empty the if is passed over even though the pop up value indicator shows that it is null. has it something to do with the date format?

thanks alot

frank
 
Use the IsNull(), ie
IF Isnull(me.txtdateupto) then...
--Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top