requery / form_current

  • Thread starter Jan Hummel via AccessMonster.com
  • Start date
J

Jan Hummel via AccessMonster.com

Having 2 unbound subforms nested in a parentform I need to update them
after clicking a button. Using subform.REQUERY I have the wired problem
that each of the childs form_current method are executed 2 times
immediately.
In the Parrent On_button_click anything is ok, it is only iterated one
time. But Debugging in to the childs Form_Current() shows, that the code is
executed 2 times, giving a delay and a flickering on the screen. The call
stack shows no difference between the 2 invocations.
Are there special events triggert which triggers form_current again?
Setting up a new form with only one subform I could not reproduce this
behavior. But still this double invocation happens I the (productive) forms.

Any help is appreciated.
Jan
 

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

Top