Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invalid Subscript in Combobox
Message
De
24/08/1999 06:29:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Invalid Subscript in Combobox
Divers
Thread ID:
00256951
Message ID:
00256951
Vues:
60
Hello all,
My form has a combo box with Rowsourcetype=alias. I access data from SQL Server into a cursor MyCursor with reccount()=67110.
In the Combo's inteactiveChange event, i write code :
if this.listindex>0 then
lcText=this.list(this.listindex)
endif
When i select item 67100 in the combo in runtime, i get error : invalid subscript ( trace window, i see .listindex=67100 and .listcount=67110 ).
However, i replace with code :
lcText=this.value
then i don't get error above. What's the problem ?

Thank in advandce.
Répondre
Fil
Voir

Click here to load this message in the networking platform