Macro to clear form

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

Guest

I've created a form that will run a query based on the selections chosen in
the form (QBF). However, at the end of the macro, I would like to the form
to clear to prevent a loop. How do I do this?

Currently the Macro is set up to run the query based on the selection of an
option box (hence, the loop). Would it make more sense to have the event be
generated off of a 'command button' after making selections?

Either way - how do I clear a form? :)
 
If you want to remove the values in unbound controls on your fom, just set
them to null or "" after you're done using them.
Me!myContol = ""

-Ed
 

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