Requery and setting criteria

G

Guest

My form opens and the underlying query runs. Then, I would like to requery a
specific control on the form with a different criteria then when the form
initially opened. I plan to run the Requery method in a Sub executed by the
form's "open form" event. I can run the Requery method but am wondering if I
can change a criteria in the Sub.

Can I?

James
 
S

Shaun

Sure you can.
An Access form has a RecordSource property that binds it to a query. Just
change this property. Changing it to nothing at all creates an "unbound"
form.
 

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

Similar Threads


Top