Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combos & databases
Message
From
30/11/1999 11:03:23
 
 
To
30/11/1999 10:55:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00296862
Message ID:
00296898
Views:
23
>>Need some clarification here....Are they combo or list style? What is the >controlsource? What is the rowsource? What is "data1"?
>
>>data1 = thisform.mycombo.value
>
>These combo boxes are list in nature and the data source is the same table that I'm trying to add new records to.
>
>The row source is something I'm not quite up on...any description you can give will help.
>

The RowSource property identifies what will be used to populate the combobox/listbox - in this case, you'd specify your table name.

The RowSourceType property tells what kind of thing is referred to by your RowSource property - table, list of fields, alias, query, etc. There are about 10 possibilities (don't worry, only a small fraction might be applicable.) It tells VFP how to interpret the RowSource property's content.

The ControlSource is the field or variable that will get filled with the value for the current row. You can select which column of the combobox RecordSource is used to populate the ControlSource. It's also used to indicate the initial value that is selected in the combobox when you first initialize it.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform