Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Loosing grid configuration
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Loosing grid configuration
Miscellaneous
Thread ID:
00244242
Message ID:
00244242
Views:
44
I have a grid that the RecordSource is a cursor:
mygrid.recordsource='myCursor'

if I regenerate the cursor to get the latest data from myTable with:
select * from myTable into cursor myCursor

I have to do this in order to get the new info displayed:
mygrid.recordsource='myCursor'
mygrid.refresh()

After all this I get the new data displayed but I loose any grid or column configuration that the grid had previously.

Any tips on preventing to loose the configuration or at least an easy way to save the hole grid (inlcuding colunms) configuration to restore after the cursor regeneration?
Jorge Flores
From the Amigo Country
Next
Reply
Map
View

Click here to load this message in the networking platform