Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a Bug in Scan For?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00805753
Message ID:
00809923
Vues:
26
Hi Sergey

I finally had a chance to the test your suggestions:
m.somevariable = This.colCA("AGMASTER").IsSelected(ID)  && Works Fine

LOCATE For This.colCA("AGMASTER").IsSelected(ID)        && Fails
Locate and Scan both product the same error message.

Simon


>Hi Simon,
>
>Does it gives an error in following situations?
LOCATE For This.colCA("AGMASTER").IsSelected(ID)
>* or
>m.somevariable = This.colCA("AGMASTER").IsSelected(ID)
>
>
>>The following code in VFP 8.0 produces an "Invalid Subscript Error"
>>
>>Scan For This.colCA("AGMASTER").IsSelected(ID)
>>...
>>
>>If I change the code to:
>>
>>Local lo
>>lo=This.colCA("AGMASTER") && Cursor Adapter object reference
>>Scan For lo.IsSelected(ID)
>>...
>>
>>everything work fines.
>>
>>
>>Thanks,
>>Simon
Simon White
dCipher Computing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform