Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regenerate a Grid
Message
From
14/06/2007 16:36:00
 
 
To
14/06/2007 16:23:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01233274
Message ID:
01233295
Views:
12
>>>Hi!
>>>
>>>How to re-generate (re poblate) a Grid that use a cursor previously?...
>>>
>>>When trying to repoblate Grid (with the regenerated cursor) , it Grid loose the columns references...
>>>
>>>Thanks in advance
>>>Carlos Burgos
>>
>>Basically, you can print out form/class code for this grid, place it in custom method and call it each time it's needed.
>
>
>Or make the curosor readwriteable. Then you can zap it and repopulate it with new data at will.
>
>I think my solution is better. :)

Sure, but I tried to give specific answer. There are situations when 'setgrid' method is really needed, e.g. when cursor structure is changed a bit, etc.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform