
count down and disable a date field
Quote:
>I have a field called txtExpirationDate which is set to
>Date() set with a command button cmdSalePending. I want to
>have it "reset" itself to zero-length once the Date()=the
>present date. i have tried
>If txtExpirationDate=>Date() Then
>txtExpirationDate=""
>it's not working. can anyone help?
Is the table field behind this textbox a Text field, or a Date/Time
field? If it's Date/Time, you should set it to NULL; "" is a text
string, and a Date/Time is *NOT* a Text string, it's a double float
number.
John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public