Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00234210
Message ID:
00234767
Views:
31
WOO HOO! Thanks! =)

j


>Try this: .cboArea.List(.cboArea.ListIndex, 2)
>
>HTH
>
>> I am trying to reference the second column of a 2-column combo box that is bound to column 2 and populated with a sql - select. I get an invalid subscript reference when I run this section of code:
>>
>>WITH THISFORM.pgfInfo.pgProf.pgfJobs.pgJob1
>> REPLACE Area1 WITH .cboArea.LIST(.cboArea.VALUE, 2), ;
>> Dept1 WITH .cboDept.LIST(.cboDept.VALUE, 2), ;
>> Pos1 WITH .cboPos.LIST(.cboPos.VALUE, 2)
>>ENDWITH
Jason Bradley Nance
jbnance@tresgeek.net

Got root?
Previous
Reply
Map
View

Click here to load this message in the networking platform