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

Updating records with empty date fields

Status
Not open for further replies.

VBVines

MIS
Jun 11, 1999
98
US
I have an access 97 database that has several date fields and text fields. I am using VB6 ado 2.5 to enter data into the fields. Basically text boxes and combo boxes are bound to the database by an adodc. The users don't enter dates into the date fields all the time. Some of the date fields are left blank. WHen this happens I get an error when I try to save. My save button is just an adodc1.recordset.movenext command. Any idea on how I can save updates that include recordsets with fields that have empty date fields.

Thanks aspvbwannab
 
If I'm not mistaken, the change will have to take place in your database. You will have to change the attributes of the field so that it will accept a null value.

good luck!:)
Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top