Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting grid with Linkmaster
Message
From
16/05/2002 11:25:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
15/05/2002 13:14:38
Richard Recore
Debt Management Associates
Boca Raton, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00657021
Message ID:
00657505
Views:
22
>Have a grid located on a form which as it's datasource has child records. The original devloper used the dreaded LinkMaster property to bind the FK in the child to the PK in the parent. We need to sort the grid by a column other than the FK value. Setting ChildOrder in the grid properties sheet does nothing, and manually re-ordering the grid loses the relationship between child/parent. We have tried unbinding the grid and manually populating by a parameterized view and by cursor, and the speed difference is tremendous. How do you re-sort a grid which is bound, using the Linkmaster property? Child table has 7,000,000 records.

A parameterized view works well for me. Perhaps the query expression isn't optimized? (See FAQ #8109 for some ideas). OTOH, the parameterized view will also be slow if VFP has to fetch many records for one specific key value.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform