How to refer to data in another tab

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

Guest

On my form, I have a tab control with two tabs and on the second, I'm trying
to refer to data thats stored on the first.

All I get is the error message 'Method or data member not found'. Where have
I gone wrong in this line of code ?

MsgBox Me.TabCtl.Pages("Member").txtAddress.Value

Thanks
 
Widemonk said:
On my form, I have a tab control with two tabs and on the second, I'm
trying to refer to data thats stored on the first.

All I get is the error message 'Method or data member not found'.
Where have I gone wrong in this line of code ?

MsgBox Me.TabCtl.Pages("Member").txtAddress.Value

Thanks

A TabControl does not affect the referencing of a form object. Just reference
it as you would if there were no TabControl.
 
Back
Top