Boy do I feel dumb. :(
This sounded really familiar to me when I read it, so I looked where I call the program for the other class. Sure enough, I have SET PROC TO make_classes. That explains why it hasn't given me any problems.
The place I do have the problems, I have DO make_classes.
Duh!
Thanks for showing me the light. :)
-Michelle
>This is the way I handle a similar situation. I have one prg called CLASSDEF.PRG that has all my programmatic class definitions. Then I include it in my SET PROCEDURE TO command. If you like you can SET PROCEDURE TO before creating the class and then RELEASE PROCEDURE. Again, keep in mind whether you need/want the ADDITIVE clause if you use this technique.
>
>>No. In the LOAD of the form, I run the program, make_classes. Later in the form, if the user chooses to route the trips, I create an object of type 'router'. It worked for a while, but most of the time, it says it can't find the class definition.
Précédent
Suivant
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