General information
Category:
Coding, syntax & commands
Hi Jorge.
>> 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? <<
What I generally do is create an updateable cursor in the form.load() to bind my grid to add design time. The I have a custom grid.reset() methos that re-runs the sql into a temp cursor, zaps the grid's recordsource, and does an APPEND FROM DBF('Temp') into the grid's recordSource.
Zapping the updateable cursor will not rest your grid since it doesn't close its recordSource.
Marcia
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only