What events fire when returning from a modal pop-up form?

  • Thread starter PacFreshAnthony via AccessMonster.com
  • Start date
P

PacFreshAnthony via AccessMonster.com

I have an unbound form with a list box, and a command button that opens a
modal pop-up form that adds records directly related to the list box. I want
the list box to be requeried onced the pop-up form is closed. Where is the
best place to put the requery code?

Thank you,
Anthony
 
T

Tom van Stiphout

On Thu, 30 Oct 2008 13:32:51 GMT, "PacFreshAnthony via

In the popup's Form_Close event.
Forms!TheOtherForm!TheListbox.Requery

-Tom.
Microsoft Access MVP
 
T

tina

put it in the code that closes the pop-up form, as

Forms!FirstFormName!ListboxName.Requery

hth
 

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