coding question

  • Thread starter Thread starter Lauren B
  • Start date Start date
L

Lauren B

What code do I need to use so that when a command button it is clicked, the
contents of a text box are cleared (not deleted completely from the
corresponding table, simply cleared on the form).

Thank you for any assistance.

LB
 
Is the form and text box bound to a table? If so, clearing the field will
clear the record.

Rick B
 
No, it's not bound, it's just an input for a query.
After the user closes the query and returns to the query input form, I want
all boxes to be blank.
 
In code you would just put something like the following. Not sure if you
want to tie this to a button, or how you want it to happen.




Me.SomeFieldName = ""


Rick B
 
Back
Top