Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reference to a column in a ComboBox
Message
From
09/10/1999 07:22:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Reference to a column in a ComboBox
Miscellaneous
Thread ID:
00274572
Message ID:
00274572
Views:
57
I have a combo box with two columns. The data is stored in an array that is part of the combobox.
WITH Thisform

  SELECT DISTINCT RodSpec.Mill , RodSpec.MillId;
    FROM WireMill!RodSpec ;
    ORDER BY RodSpec.Mill;
    INTO ARRAY .cboMill.cboData

  =ASORT(.cboMill.cboData)
  .cboMill.DISPLAYVALUE = .cboMill.LIST(1)
ENDWITH
When I select a value from the combo box I need to know the value in column 2. How do I reference it?

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform