Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Blank Grid
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00884147
Message ID:
00884153
Vues:
13
Steve,

The grid binds to the current work area during its Init. Form.Init() happens later. Open the table in Form.Load() or put the table into the data environment of the form.

If you have to wait until Form.Init() you'll have to set the grid.RecordSource after the table is open.

>I have a form with a grid. When I open the table in the init of this form, the grid comes
>up blank. Can anyone explain what I am doing wrong? Here is what I have in the
>form's init
>
>close data
>use attend
>thisForm.Grid1.refresh()
>thisForm.Grid1.setFocus()
df (was a 10 time MVP)

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

Click here to load this message in the networking platform