View Full Version : blanking out date


mdemarte
08-07-2001, 09:47 AM
I want to duplicate a record and then blank out a date field in it. I found the duplicate record option in the command buttons, but if I try to set the field to blank, it gives an error; setting it to 0 gave me 12/31/1899. Date(0,0,0) does not work either. Even though I don't know much VBA, I tried creating a date field hoping that the default value would be blank, but it kept the date instead of replacing it.

charityg
08-07-2001, 12:56 PM
have you tried setting the datefield=null?

mdemarte
08-08-2001, 05:42 AM
THANK YOU! I did not know that you could do that, but it worked like a charm!