Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameters for INIT and LOAD
Message
De
05/08/2008 12:54:20
 
 
À
05/08/2008 09:02:26
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01336522
Message ID:
01336593
Vues:
13
>I have SQL in the LOAD, but I need it to use the parameter sent to the form's INIT, but it is not available there. I could move the SQL to the INIT, but isn't that the point of the LOAD event?

In addition to all the other ideas, if you are launching your form from another form and the param is a property on the calling form you can access it in the called (child) form.load like this:
IF TYPE("_Screen.Activeform.Name") # "U"
      Thisform.oParent = _Screen.Activeform
      myParam = Thisform.oParent.sqlParam

ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform