Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh of Grid.
Message
From
14/07/2001 17:10:04
 
 
To
14/07/2001 16:44:53
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00530697
Message ID:
00530702
Views:
22
I had a same problem.
Problem is when you are using USE statement grid is loosing control source.
What I have done is not, maybe, very elegant, but it works.

First, I made an empty GrdTable.dbf, then I made a cursor (or view) with records I want to show in a grid and append it to GrdTable, which is shown in a grid and which have same structure as cursor (or view), of course.
When I need to show a different set of data, I zap GrdTable.dbf table, make a new cursor (or requery for view) and append records to a GrdTable.dbf table again. Than I need just one more refresh for grid.

I hope this will help.
Sale
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform