Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized views, but want to override in design mode
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01219655
Message ID:
01219681
Views:
11
>Hi all
>
>Parameterized views are fine. But there are times when I don't have the values at design-time, I just want to open the view with all underlying records (rather than an empty browse if the parameters are wrongly specified).
>
>What kind of a condition I can put in the view to get such an override button.
>
>Please advise.

Hi Bhav

How about having 2 params to the view, something like:

Select ...

Where ( cond1 and cond2 and cond3 and MatchFireld = ?lcParam1) ;
or ?llLogicalParam2

Terry

UPDATE

Oh, I see there's already a history and Tore soln! :-)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform