Information générale
Catégorie:
Codage, syntaxe et commandes
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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement