Hi,
I have a mainform, on this mainform I have a tabcontrol.
Depending on the data in the DB, some tabs are shown or hidden.
(say tabAddress is always visible, tabOrders is only visible when orders are placed)
Here's what I want to achieve:
When a user is in a record, and that record has got the tabOrders visible.
Now the user can use the search-option available in access (the binoculars), the ercordselectors or the navigational buttons go to another record.
The new record has got the tabOrders invisible.
What I want to do is to make sure that when a user changes the active record, regardless of the method it's using, the tabAddress is shown.
I can change it to tabAddress using 'me.tabInfo.value=1', that's not the problem.
The problem is: How can I grab the action when a user changes the active record.
Thanks.
I have a mainform, on this mainform I have a tabcontrol.
Depending on the data in the DB, some tabs are shown or hidden.
(say tabAddress is always visible, tabOrders is only visible when orders are placed)
Here's what I want to achieve:
When a user is in a record, and that record has got the tabOrders visible.
Now the user can use the search-option available in access (the binoculars), the ercordselectors or the navigational buttons go to another record.
The new record has got the tabOrders invisible.
What I want to do is to make sure that when a user changes the active record, regardless of the method it's using, the tabAddress is shown.
I can change it to tabAddress using 'me.tabInfo.value=1', that's not the problem.
The problem is: How can I grab the action when a user changes the active record.
Thanks.