Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing recordsources betw pageframes pages
Message
De
27/12/2003 19:56:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00862297
Message ID:
00862298
Vues:
12
>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():
* Page1.Activate()
ThisForm.cAlias = "Table1"
and in the PageFrame.Click():
* 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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform