Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Blank a single field 1

Status
Not open for further replies.

Garridon

Programmer
Mar 2, 2000
718
US
I have a query which archives a record when the date completed is filled in. Sometimes, though, the user has to reopen the record. To do this, I currently have the user delete the date on a form. This triggers another append query. Is there are way to use an OnClick event procedure to blank the date field and trigger a message saying that the item has been reopened?

Thanks!


Linda Adams
Visit my web site for writing and Microsoft Word tips:
 
I just created an on_click event for a date field:


DoCmd.SetWarnings False
Me!DateField = Null
DoCmd.OpenQuery "qryName"
DoCmd.SetWarnings True
MsgBox "Record has been reopened"


this worked fine...

Not sure if this is what you wanted though...
James Goodman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top