Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo boxes
Message
 
To
13/12/1999 18:17:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00303051
Message ID:
00303060
Views:
23
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
Previous
Reply
Map
View

Click here to load this message in the networking platform