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!

Blank date in SQL construct using VBA 1

Status
Not open for further replies.

LARiot

Programmer
Feb 7, 2007
232
How do I insert a blank date into a table?

The result of my constructed SQL statement in VBA is:

Code:
INSERT INTO tblActiveDeal VALUES ('C:\Documents and Settings\nsepassi\My Documents\Revenue Project\Excel Sheets\Active Deals Report - Apr 07 from Danny.xls', 'E_$', 'SG', '420.000', 'Alpha Satellite Television S.A.', ##, #12:00:00 AM#, 0, '', , , , 4, 0, 'Count Newsfeed as 1 hour, not 90 minutes.' )

Thanks.
 
[CODE vba]
INSERT INTO tblActiveDeal VALUES ('C:\Documents and Settings\nsepassi\My Documents\Revenue Project\Excel Sheets\Active Deals Report - Apr 07 from Danny.xls', 'E_$', 'SG', '420.000', 'Alpha Satellite Television S.A.', null , #12:00:00 AM#, 0, '', , , , 4, 0, 'Count Newsfeed as 1 hour, not 90 minutes.' )[/code]
 
Replace this:
##
with this:
Null

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top