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:48:20
 
 
To
14/04/2015 08:29:24
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
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:
01618371
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.

I haven't followed very carefully -it's in German - but if it's only about sql - you can use macro substitution for the field name




>
>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
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform