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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement