Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why CursorFill() is faster than CursorRefresh() in a CA?
Message
From
03/12/2010 21:17:43
 
 
To
03/12/2010 06:19:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Miscellaneous
Thread ID:
01491162
Message ID:
01491721
Views:
45
Fabio,

"Beserk" in what sense?
a change in the SELECT ORDER not expected to affect the grid.


That is what I also thought. Any change I make into ANY of the segments in SELECT, ORDER, WHERE will result in my grid going beserk.

A little googling made me find this (which works like a charm):
* previous to this, create a temp cursor with the same structure as the CA cursors in INIT of form and build up your grid

ThisForm.myGrid.RecordSource = "myTempCursor"

myCursor.CursorFill()

ThisForm.myGrid.RecordSource = "myCursor"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform