>Hi All,
>i've form and pageframe within 16 pages . and also using 16 table for its for each page controls . and and also i am using toolbar for save,revert,delete,... actions and toolbar behaviour _screen.activeform methods and properties.
>
>while saving,reverting,deleting actions i am using these codes belove
>
>select (thisform.calias)
>tableupdate(2,.t.,thisform.calias)
>
>now i wantto ask when i navigate between pages how can i send the table name to form calias property ?
>
>TIA
I think you should use either the Page.Activate() event, or the PageFrame.Click() event.
For example, in the Page.Activate():
ThisForm.cAlias = "Table1"
and in the PageFrame.Click():
do case
case This.ActivePage = 1
ThisForm.cAlias = "Table1"
case This.ActivePage = 2
ThisForm.cAlias = "Table2"
...
HTH,
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)