Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View parameters request at validation
Message
 
 
À
02/10/2001 13:13:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00563149
Message ID:
00563250
Vues:
17
>I would appreciate any hints to make the Stonefield database explorer not to ask for each and every view parameter when opening (validation) a database.
>
>Regards and thanks in advance
>
>Oscar Corte

The only way I know is to run code ahead of time to get the list of Query Parameters from each view:

DBGetProp(view_name, 'View', 'ParameterList')

To set the list of parameters used in the view, you can do this in the View Designer under Query menu, View Parameters. Or you can:

DBSetProp(view_name, 'View', 'ParameterList', "nID,'I'")

Parameters are separated by a semi-colon. Once you have the list, you can parse and create initial values for them.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform