Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create Database Not Allowed in Class Definition?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00391904
Message ID:
00392328
Vues:
9
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform