Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remote View
Message
 
À
29/06/1999 23:14:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00235627
Message ID:
00235725
Vues:
20
>I need it to recognize the variable which is created and updated in prior code.
>
>Can this be done?
>
>Thanks

That's what a view parameter is made for. Suppose you have your view defined with one parameter, vp_MyParm.
When you'll load the view, make sure to set NODATAONLOAD = .T., this will load your view with no data, and above all it will not claim for a parameter.

Now, in your code
LOCAL vp_MyParm
vp_MyParm = "MyValue"
SELECT yourView
REQUERY()

That's all there is to it.

José
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform