Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00677782
Message ID:
00677819
Vues:
20
Hi Ria,

There are several properties in the grid that must be assigned. I usually open the form to assign the properties as opposed to assigning them programmically via the init event. Place the mouse in the grid and then right click. From the menu that appear select properties.
Thisform.Grid1.RowSource       the_alias
Thisform.Grid1.RowSourceType   1 - Alias
Then go to column1
Thisform.Grid1.column1.ControlSource    the_alias.the_field
Thisform.Grid1.Column1.CurrentControl   Text1
Then go down to Text1
Thisform.Grid1.Column1.Text1.ControlSource   the_alias.the_field
The sequence would be repeated until all your columns have been assigned.

In the load event of the form you might put something like the following
Select A
use
use the_cursor again in 0 alias the_alias
The above command is to make the cursor updateable.
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform