Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem: Combobox and 'BoundColumn' property
Message
From
15/11/1997 12:51:20
 
 
To
15/11/1997 10:19:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00060453
Message ID:
00060471
Views:
16
>I have a combobox from which the user can select a list of customers. In this list, I have a hidden column - column 6 - that stores the primary key for that customer. I set the BoundColumn property of the combobox to 6, because once the user selects a customer I want to store the primary key to a variable.
>
>In the interactiveChange event for the combo box I have then entered this code:
>
>myVar = this.value()
>
>expecting that my hidden "BoundColumn" would be the value that is returned. But instead I keep getting the cryptic error:
>
>Invalid Subscript Reference.
>
>Any ideas on what I'm doing wrong? Thanks.
Hi Jeffery.

The problem is the parentheses after THIS.Value.

Marcia
Previous
Reply
Map
View

Click here to load this message in the networking platform