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 08:29:24
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
14/04/2015 08:24: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:
01618370
Views:
38
>>>>Do you mean to create the whole CA on the fly? I thought an that too, but if he still stuck to views and think it's to tricky.
>>>>To teach how to use CA and create them on the fly? Argh.
>>>
>>>Yes, CursorAdapter has a learning curve - but it's not that bad
>>
>>But it is Gerhards, not mine. :D
>
>
>I know.
>
>
>As to views, the only thing I use macrosubstitution for is in the where clause
>
>select ....
>  where (  &?View_Condition)
>
>
>That doesn't work for columns - not the way I want it to
>
>Maybe a simple select could do. It may be possible to convert that to updatable ( there's a FAQ over here how to make an spt updatable - never tried it though faq#8153

I have eleminiated the last view around 2010.

The question was more about SELECT SQL then VIEW, so I jumped in.

The basic problem is that he likes the query the parameter withoput anything else as USE View.
The WHERE clause has those ugly feature, but as I said above, WHERE runs agains result set, so the parameter is not known to the field list.

Lutz
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