M
Min
Hi, using a textbox to accept a date to insert to a date field, if there is
a date in the textbox, say, #2004-11-27# it is fine. However, if the textbox
is empty, "", how to insert "an empty date" into the date field (no date in
that field) ? Because this is a query:
strSQL = "Insert Into Table1 (EndDate) Value (#" & txtEndDate & "#)"
How to write the query?
Thanks!
a date in the textbox, say, #2004-11-27# it is fine. However, if the textbox
is empty, "", how to insert "an empty date" into the date field (no date in
that field) ? Because this is a query:
strSQL = "Insert Into Table1 (EndDate) Value (#" & txtEndDate & "#)"
How to write the query?
Thanks!