Changing rowsource of Listbox

  • Thread starter Thread starter David
  • Start date Start date
D

David

When I change the rowsource of a listbox in the ACTIVATE
event, does it do an automatic REQUERY?
My control seems to be being requeried twice.
 
David said:
When I change the rowsource of a listbox in the ACTIVATE
event, does it do an automatic REQUERY?
My control seems to be being requeried twice.

Yes. Changing the RowSource property of a control forces an automatic
requery of the control, and changing the RecordSource property of a form
forces an automatic requery of the form. There is no need to do an
explicit requery after changing the property; if you do, the query will
be run twice.
 

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