Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change index order
Message
From
11/05/2004 05:00:10
 
 
To
11/05/2004 03:27:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00902184
Message ID:
00902750
Views:
26

thnx Fabio

is any way to solve this ?

anand


Solution A:
minimize space, but can slow down the grid refresh if ChildTable is long and filtering is very selective
SELECT ChildTable
SET ORDER  TO myOrder
SET FILTER TO rowParent=parentTable.rowField && this simultate the RELATION
Solution B:
use a filtered index
SELECT ChildTable
INDEX ON myOrderKey FOR rowParent=parentTable.rowField && for max speed use a old idx not compact
* when parentTable.rowField change, you can redo previous or do next command
SELECT ChildTable
REINDEX
Solution C:
use a query or a view for rebuild the filtered ChildTable
SELECT * FROM ChildTable WHERE rowParent=parentTable.rowField ORDER BY myOrderKey
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform