Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized view
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00256536
Message ID:
00256550
Views:
14
>I have created a view that asks the user to enter a Fiscal Year, e.g.
>
>prcFiscalYear LIKE ?'Fiscal Year Surrounded by % (e.g. %98%)'
>
>The view when used comes up and asks the appropriate question, but my user does not want to enter the %, they just wish to enter the 98. So how can I have a parameter that comes up with a question, but after the user enters the fiscal year slaps a '%' on the front and back of what they entered. Any help would be appreciated. Or send me in another direction on getting user input in a parameterized view.

The parameterized view only 'pops' the window if no variable with the appropriate name is in scope; if you pop your own dialog asking for input and build the appropriate string just before the use (and ensure that the variable is in scope or reinitialized on each REQUERY()), the user will never see the default dialog.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform