Requery Form Data

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

Guest

I have a tab control and form in each tab control. I want it to requery
anytime I click on a tab control for another form, so I updated record A that
was showing in tab control 1 (form 1) and when I click tab control 2, it will
the show that record, which I did something to make it show up in there, like
account status, etc. I tried the on click for the tab control button, but
nothing works except shift 9... I created a Requery macro & left control name
blank....

Thanks
Curtis
 
Have you tried using an event on the individual forms? Assuming the forms
exist only in the tab control (i.e. they aren't used as stand-alone forms),
you can use the event AfterUpdate to requery the other forms. Otherwise,
you'll need to check the context in which the form was updated before
executing a requery.
 

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