Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem: Combobox and 'BoundColumn' property
Message
De
15/11/1997 12:51:20
 
 
À
15/11/1997 10:19:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00060453
Message ID:
00060471
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform