Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error message
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00307083
Message ID:
00307181
Views:
15
Hi Susan,

Well, you didn't said where this error happened, but check out the following:

- If you are using a PRG program, you should use a variable to reference a form, otherwise you will get an error. Example: you have a Command button that should call a program that make some calculations and put it at one textbox; your button could have the following code:

DO myProg WITH THISFORM, MyValue

With this code, you could have the following code at your program:

PROCEDURE MYSOMETHING
PARAMETERS FormName, HisValue
MyCalculation = HisValue * 180
* Put at the the text box
FormName.text1.value = MyCalculation
ENDPROC

If you tried to use THISFORM instead of FormName at the last line of the PRG, you'll get an error very similar to yours.


Cheers,

Ricardo
Previous
Reply
Map
View

Click here to load this message in the networking platform