Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View parameters request at validation
Message
 
 
To
02/10/2001 13:13:09
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00563149
Message ID:
00563250
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform