Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create Database Not Allowed in Class Definition?
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00391904
Message ID:
00392328
Views:
11
I figured it out. I had a procedure (to use the GUID function to make a unique DBC name) in the middle of the init function, and things were choking there. I moved the procedure outside of the function like a good boy and now it works.

Thanks.



>1. First, what is the entire class definition. This error is thrown because you have something wrong in the definition itself, not in one of its methods.
>2. Does it throw the error the first time the Init fires or the second? When you create an object, the Init fires first as the object is instantiated (unless we are talking about form/formset objects). So the Createobject() fires the Init and then you are calling it again.
Previous
Reply
Map
View

Click here to load this message in the networking platform