Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error: THISFORM can only be used within a method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Error: THISFORM can only be used within a method
Divers
Thread ID:
00144196
Message ID:
00144196
Vues:
75
From a method of a form I call a function located in a PRG (Library.prg) ex: deleteAccnt(lcID_Cust,lcID_CORP,ID_btn,ID_donnee)

I have a SET PROCEDURE TO LIBRARY.PRG and ON ERROR MYDebug(messages()...) done in my code.

In the function deleteAccnt(), at one point I do a LOCATE FOR ...

The first time I call the function ( only the first time) my ON ERROR is call and I get the error messages "THISFORM can only be call from a method"

I do not use the THISFORM key word in my fonction.

Iny one had this problem?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform