General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only