Hi, i have this main form that has several tab.
In the tabs, there are several fields.
I want to call/get/set the control/field inside this tab, how to do it?

for example, in the main form there is a textbox control called "InvoiceNo", to call this one, i will use Me.InvoiceNo
inside "Invoice tab", there is also a textbox control called "InvoiceNo", how to call this one?

Thanks

With tab controls you do not reference any tabs. Just reference a control as if it was on the form itself. If you are referencing a control on a subform within a tab just use the normal syntax for referring to a control on the subform. There is no special referencing needed. Pretend the tabs don't even exist.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.