Question : How do I set the value of a textbox that is bound to a required datetime field to blank so it doesnt show the default date?

I have an access form that has a bound datetime field that defaults to 1/1/1800.  I want it to just blank out i.e. "" when the form loads if the date on the record is 1/1/1800.  The date is a required field and I don't have edit rights to the table schema so I can't set it to a different data type or disable required.  In the On Current event I want to inspect the value of the textbox then set it accordingly.  Does vba have a "vbNullDate" function or what can I do?  Thanks for the help.

Answer : How do I set the value of a textbox that is bound to a required datetime field to blank so it doesnt show the default date?

If the Date is #1/1/1800" make the foreground color the same as the background color for the textbox.
Random Solutions  
 
programming4us programming4us