Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid1
Message
 
À
02/05/2001 12:07:54
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Grid1
Divers
Thread ID:
00502561
Message ID:
00502595
Vues:
21
In Form designer set the following grid properties:
RecordSource = auth (just the alias, not fields)
ColumnCount = 4

Then, go to column1 and set the
ControlSource = auth.organization

Then, go to column2 and set the
ControlSource = auth.authtype

Keep in mind that you need to do this on the form designer.

On the other side, if you decide to do this on the fly (i.e. ColumnCount=-1 at design time, and then ColumnCount=4 at run time) then you need to set the grid RecordSource and the columns ControlSource at run time. Keep in mind that if you change ColumnCount at runtime VFP will recreate the columns and then you will need to reset their properties.

>VFP 6.0
>
>Grid: Grid1
>ChildOrder: main
>LinkMaster: person
>ReadOnly: .T. - True
>RecordSource: auth.organization, auth.authtype, auth.effective, auth.end
>RecordSourceType: 1 - Alias
>RelationExpr: id
>
>How can I specify what fields to show in the gird (ColumnCount: -1), since the rest of the fields would be above it in all the textboxes for add/editing.
>
>Chuck
Hector Correa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform