Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference
Message
From
25/06/1999 19:39:26
 
 
To
25/06/1999 17:13:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00234210
Message ID:
00234266
Views:
40
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform