Setting date to Null

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I have a form that registers students and it sets a date one year from the
current date. However, if the user cancels for whatever reason, when it tries
to set it to Null or "" or " " it just sets it to 12:00:00 AM which shows
01/01/99 in the date field.

Is there anyway of setting a date field back to empty?

Any suggestions would be great

Many Thanks

James
 
James,

It is not clear what "when it tries to set it to Null" means. If you
are telking about using code, then this should work...
Me.MyDateField = Null
 

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