Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh of Grid.
Message
De
14/07/2001 17:10:04
 
 
À
14/07/2001 16:44:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00530697
Message ID:
00530702
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform