Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids
Message
 
 
À
02/04/1999 14:19:54
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Grids
Divers
Thread ID:
00204737
Message ID:
00204782
Vues:
19
Jim,

The problem is the Form.Init() fires after the Grid.Init() so the cursor does not exist when the grid tries to bind to it.

1) If possible just create the cursor in the Form.Load()
2) If you have to use the Form.Init():
select *...
with this.grdTheGrid
   .ColumnCount = -1
   .RowSource = "TheCursor"
   .Refresh()
endwith
>I have a grid that is based on a cursor. The cursor is created in the Init event of a form. When the form is displayed the grid is completly white with no data. In the data session the cursor is created and does have data in it. What is the problem?
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