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

odbc empty date field

Status
Not open for further replies.

ultimatewilliam

Programmer
Oct 16, 2002
57
SG
i've created an odbc data source to connect to my old foxpro database and wrote a small program in vb that uses this data source. but when it finds that a date field is empty or has no value, it gives December 30, 1999. how do i prevent this to happen? thanks.
 
You could check it for a NULL value and act upon that.
Greetings,
Rick
 
thanks, but these records are being retrieved thru a recordset, so if i have "select * from mytable" some empty dates are not actually empty.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top