B
babakanoush
Guest
What is the best way to insert Date/Null into a Date Field?
INSERT INTO MyTable (MyDate ) " _
& "VALUES ( “ & MyDate & “)”
MyDate could be a valid date or Null. I know about “#” sign, but the problem is when MyDate is Null then I get an error! I have few date fields on my form so I like to construct one Insert Statement to take care of all the possible cases. Thanks gurus.
INSERT INTO MyTable (MyDate ) " _
& "VALUES ( “ & MyDate & “)”
MyDate could be a valid date or Null. I know about “#” sign, but the problem is when MyDate is Null then I get an error! I have few date fields on my form so I like to construct one Insert Statement to take care of all the possible cases. Thanks gurus.