Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What does it take to change WHERE of remote view?
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00664569
Message ID:
00664905
Views:
19
>You can use the DBGETPROP() function to get the SQL clause, adjust the WHERE portion of it, then write it back to the DBC with DBSETPROP():
>
>cSQL = DBGETPROP("rv_ViewNameHere", "View", "SQL")
>
>* Change the WHERE portion of cSQL here
>
>DBSETPROP("rv_ViewNameHere", "View", "SQL", cSQL)
>
>It may be difficult to parse the WHERE portion. I usually have the ORDER BY clase immediately follow the WHERE clause, but I can't remember if that is a SQL requirement.

That is a good idea. Thank you.

Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform