Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a Bug in Scan For?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00805753
Message ID:
00809923
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform