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!

date insert question for access and vba

Status
Not open for further replies.

Bastien

Programmer
May 29, 2000
1,683
CA
I'm reading in a bunch of variables from a text file and having problems with the insert statement...if there is a date field and no data in the text file, do i still need to have # sign in the sql?

that is

sql="insert into mytable(id, adate) values (id, ##)

TIA
Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
use nulls for empty values Bastien

There are many ways to skin this cat,
but it still tastes like chicken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top