Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to dynamic change filt cond and ordr of remote view
Message
From
12/02/2002 09:13:55
 
 
To
12/02/2002 08:59:57
Max Chen
Yx Software
Shunde, China
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00617483
Message ID:
00618791
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

OOOPs, Sorry!

Sure, for remote views this approach will not work.

You can re-create the view on the fly using Create SQL View command in some database created locally on the local computer (private database needed to do not spoil work for other users that use the same view at the same time). Command like

create SQl VIEW Sample REMOTE CONNECTION Connect1 AS ;
Select * from MyTable Where &lcParam

will create the new view or re-create the existing. Then opening it will run different query.

If you can use SQL Pass-Through commands, better use them in such case, because they allow to run any commands in the string and get a result set. For example, they allow to run stored procedures on SQL Server.



>Hi, Vlad
>
>You can work well with LOCAL view, but does not work with REMOTE view.
>
>What i need is just remote view, do u have any idea about remote view ?
>
>Regards.
>
>max.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform