Microsoft
Software
Hardware
Network
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
Opening Organization chart with open office
How to create a non-scrolling section (menu) of a web page
how to change sql query not to pull duplicates
Scrolling Issue With DataGridView & Wrapping Text
faster version of controltip to display tooltip text
How do I get rid of this security warning in Access 2007 (See Image)?
Date Format problem in Microsoft Access 2000
Report from Crosstab Query
Combining strings and converting to Date-Time...?
problem opening word attachment with XP professional