Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird error message...
Message
From
14/03/2000 16:37:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Weird error message...
Miscellaneous
Thread ID:
00345560
Message ID:
00345560
Views:
43
Hello,

I am getting the following error message (at random times):
"THISFORM can only be used within a method."
The reason that I think that it is weird, is that the line of code the error points to is within a program and
does not have any references to "THISFORM" in it. The actual line of code from the program is:
COUNT FOR tcBatch = Batch_name TO lnBatchTotal
All of the variable references are local to this program and in no way refer back to a form method or property.

Does this make sense? Has anyone else encountered any errors like this before? My concern is the
randomness of the error and that a couple of people in our Test group are also getting it at times.

When I get the error and go into the debugger, I am sitting on the aforementioned line of code. I then step
into the next line of code and the program continues without a problem.

Any thoughts or suggestions?

Thanks....douglas
Next
Reply
Map
View

Click here to load this message in the networking platform