Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error message
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00307083
Message ID:
00307181
Vues:
13
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
Fil
Voir

Click here to load this message in the networking platform