how do I 'blank' a date field

  • Thread starter Thread starter Karen
  • Start date Start date
K

Karen

I have a button on a form that blanks out several fields. For text fields
I'm using [fldname]=empty. That works okay. If I use [flddatefld]=empty I
end up with a date of 12/30/1899. What is the expression I should use to
blank out a date field?

Karen
 
Try:
fldname = Null

Empty is a special value that is assigned to a Variant before you assign any
other value. You want Null - the value of a field that has no entry.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top