Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems re 'With...Endwith'
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problems re 'With...Endwith'
Miscellaneous
Thread ID:
00337018
Message ID:
00337018
Views:
58
I am experiencing errors if I use a 'scan for' statement inside a with...endwith.
with thisform
   scan for .txtBox.value = 'xyz'
      do something
   endscan
endwith
The error I get is: 'Alias .txtbox.value is not found'. From within the debugger I can hold the cursor over this value and it has the correct value. The way to solve this is to add 'thisform' to '.txtbox.value'. But I was wondering if this is only happening to me or is this just the way it is. Also, is there any other commands I need to be concerned with this issue.

Thanks,

Paul Acton
Next
Reply
Map
View

Click here to load this message in the networking platform