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 09:46:51
 
 
To
14/04/2015 09:27:03
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:
01618378
Views:
29
>You could include the parameter in the view ( in this case)
>
>select Table.*, ;
> cast ( ?lnYear as Int ) as MyParam;
> from ....
> where (YEAR( DATEFIELD ) >= ?lnYear )

Using this code I get an error "SQL: Column 'lnYear' is not found."

Any idea what I do wrong?

TIA
Gerhard
Gerhard Schmidbauer
URANUS Software GmbH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform