Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error: THISFORM can only be used within a method
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Error: THISFORM can only be used within a method
Miscellaneous
Thread ID:
00144196
Message ID:
00144196
Views:
74
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?
Next
Reply
Map
View

Click here to load this message in the networking platform