Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids
Message
De
02/04/1999 14:25:21
 
 
À
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:
00204740
Vues:
12
>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?
>
>Thanks
>
>Jim

Besides creating a cursor, you should also link it to the grid programmatically , even if you did it in property sheet (actually you may also try to create cursor in Load event, probably it will work better then). Programmatic linking means that you fire:
This.Grid.Recordsource="mycursor"
If you have some specifics, you should set them programmatically too:
This.Grid.ColumnCount=5
This.Grid.Column1.Controlsource="mycursor.myfield5"
etc.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform