Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change remote view order at runtime
Message
From
16/09/2007 18:15:38
Balazs Simon
Unit Informatics Ltd.
Budapest, Hungary
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Change remote view order at runtime
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01254610
Message ID:
01254610
Views:
68
My grid displays the content of a Remote View with 1.000.000+ records from SQL server. I use data fetching to speed up the application. The user can click on the column's headers to change the order of the grid.

If I use indexes to quickly change the order, then the whole table is downloaded. This is very slow. So probably I have to make new query every time the user changes to order. The problem is that the SELECT expression is read-only at runtime in the Remote View. I can't use "?parameters" at ORDER BY as with FILTER in the View Designer. I can't use "CREATE VIEW" to overwrite the existing Remote View because more users are using the same application with the same .DBC.

Any ideas? Thanks in advance!
Next
Reply
Map
View

Click here to load this message in the networking platform