Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to sort grid box record when clicking the header?
Message
From
06/02/1999 10:53:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
06/02/1999 04:19:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00184218
Message ID:
00184696
Views:
22
>I agree, but in this case we're talking about a cursor created on the fly specifically for a single user. My experience is that it's an acceptable delay with < 10000 records. But if I have to create 12 tags each time the view is changed the user complains. And it's an extra load on the system. So it all depends as usual.

I've taken a slightly different approach. I Create Cursor with a specific structure in the load() of the form, and index it right away while it's empty. Then, during the lifetime of the form, I create other cursor(s) with the same structure vie SQL Selects, zap this original cursor and append from the other cursors. I didn't retrieve much data, though, but then my machine is 'suboptimal' ((c) Microsoft) - and it ran just fine.

In case of a p-view, I just load it with no data (either by assigning impossible values to the parameters, or by using NoDataOnLoad) and index it right away. Each ReQuery implicitly reindexes it, so no worry there either.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform