I am stumped by something I would not think should be so difficult. I am using a small form with one text box which is populated by a user to set the value for a data query in Access (the query is based on [forms]![IDForm]![CustRefType] - my lookup form is [IDForm] and the criteria is [CustRefType]. The query returns a record in another form which the user uses to update the record. I need to be able to get the original text box value cleared so when the user closes the record form he/she has a clear text box to enter the next record ID to be queried on.
This is going to be a web database so I have to get this done via a macro. I cannot locate the code to get this done - either based on the click event of the search box form or the save/close event on the record update form.
Any help would be appreciated.