Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table data won't show on grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00179857
Message ID:
00180077
Vues:
29
Marie,

Ok, if it's a cursor that does not exist when the grid Init fires you will have the problem you are seeing. There are a couple of things to do

1) create cursor in the Form.Load()

2) Look at using a view, expecially if you will be recreating the rows at runtime.

3) If you can live with the default way a grid looks you can simply:
select ... 
   into TheCursor ...
with this.grdTheGrid
   .ColumnCount = -1
   .RecordSource = "TheCursor"
endwith
>Sadly, it is a cursor created during a calculation that has to be displayed, not a table. I misspoke. So I have no table to drag to create the grid.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform