Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid subscript reference (Error 31)
Message
 
To
16/06/1998 10:27:11
Tan Gay Cheong
Cybercomp Computer Services
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00108172
Message ID:
00108662
Views:
45
>>I got this error msg now
>>
>>Operator/operand type mismatch (Error 107)
>>
>>When I try to put these codes in the click event. By the way, customer.choice is a character type
>>
>>if between(this.value, 1, this.buttoncount)
>>replace customer.choice with this.buttons(this.value).caption
>>else
>>wait "Unexpected value "+str(this.value) window
>>endif
>
>>> Which line generates the error?
>
>This line,
>if between(this.value, 1, this.buttoncount)

I though so. Open the debugger and run. If you hold the cursor over the This.Value in the trace window, you'll see what it is.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform