Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Choiñe from combo
Message
 
 
To
17/10/2004 03:29:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00952053
Message ID:
00952054
Views:
11
This message has been marked as the solution to the initial question of the thread.
>if have ex.. two textboxs at myform,and combobox,
>
>i need to insert from mycombo two values at text1 and text2 with click or keypres
>
>ex..thisform.text1.value=this.value(ex.. name)
> thisform.text2.value=this.value(ex.. address)

Assuming the combo has:
   .RowSourceType = 6    && Fields
   .RowSource = "TableName.Name,Address"   && quotes not required in property sheet
                                           && and alias should only be specified for the first field.
   .ColumnCount = 2
Then in the valid event all you need to add is:
ThisForm.Text1.Value = TableName.Name
ThisForm.Text2.Value = TableName.Address
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform