Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo boxes
Message
 
À
13/12/1999 18:17:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00303051
Message ID:
00303060
Vues:
21
It seems simple to me but maybe I'm missing something. Here goes...

Pass the name of the table to the form like

Do form someform with lcTableName

In the init method of the form have

LPara vcTableName
**CurrentTable is a custom property that you will have to add to the form
Thisform.CurrentTable = vcTableName

In the Activate method of the form have

Thisform.cboFields.RowSource = Thisform.CurrentTable
Thisform.cboFields.RowSourceType = 6 && Fields
Thisform.cboFields.Requery() &&don't know if it's neccessary but I'd do it anyway
Rip Ryness
International Falls, MN
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform