Change record source of subform when click tab

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Hi All,
I would like to be able to change the record source of a subform when I
click on a tab thats on a main form but I keep getting a error message.
main form is called "CardFrm"
Tab Control is called "AllTabs"
Page is called "CustomersPage"
I want the recordsource to be a query called "CardCustomerQry"

when I click on the tab I want the record source of the subform to change to
a difrent query is this posible?
Steve
From a land down under
 
You have to use the On Change property of the tab control. The click event
is essentially useless.
--
Bob Larson
Access MVP
Access World Forums Administrator
Utter Access VIP

Tutorials at http://www.btabdevelopment.com

__________________________________
 
Back
Top