C1Tab Reference > C1Tab Properties > TabData Property |
Returns or sets a user-defined value associated with the given tab.
[form!]C1Tab.TabData(Index As Integer)[ = value As Variant ]
Use this property to store within each tab whatever information is relevant to your application.
For example, you could place a single data bound grid in a Tab control and store an SQL statement within each tab. You could then trap the Switch event to update the grid's record source when a new tab is selected.
Variant