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

Something about DATE 1

Status
Not open for further replies.

gerry03

Technical User
May 7, 2003
13
IN
Hi
How can i save blanks in DATE/TIME type field of an access table and how can i retrv. the same with sql. I am using ADO. Secondly datepicker doesn't give the desired output.
for exmpl. if i click it doesn't diaplay the formated date in text boexs.


Thanks
 

1. Save a NULL to the Date field:
...SET DateField = NULL

2. Use NULL in your criteria:
...WHERE DateField IS NULL
or
...WHERE NOT DateField IS NULL

3. Use the Format$() function:
Text1.Text = Format$(myDatePicker,"mm/dd/yyyy")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top