Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To get the view parameter in the view result
Message
From
14/04/2015 10:14:47
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
14/04/2015 10:07:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01618350
Message ID:
01618386
Views:
32
>>Works fine over here - providing you assign a value to lnyear
>>
>>
>>lnyear = 2000
>>select dossier.*, ;
>> cast ( ?lnYear as Int ) as MyParam;
>> from dossier ;
>> where (YEAR( d_custenddate ) >= ?lnYear )
>>
>
>But then I am no longer asked for a value. It just uses the vallue assign before the view is executed without asking.


I was told in the 90s of the last century to not use that feature ....

:D
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform