Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Classlib going null on SETCLASSLIB
Message
De
25/04/2001 16:16:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00499820
Message ID:
00499828
Vues:
31
>>I'm issuing SET CLASSLIB TO MyClassLib in the 'main' program of an app in VFP6. This main program can be re-executed by the user if they need to log in again. The first time executing, all is fine, but when the SET CLASSLIB TO executes a second time, the CLASSLIB winds up being set to null! I cannot duplicate this behaviour from the command line. Does anyone know why this might happen?
>>
>>-Arne
>
>test to see if the classlib is set first. If not then open it:
>if NOT "MYCLASSLIB.VCX" $set('classlib')
> set classlib to myclass
>endif

Thanks Mark. I had already put something like that in as a work-around but I was trying to figure out *why* this was happening. BTW, your second line should have read SET CLASSLIB TO MyClassLib ADDITIVE if the assumption was that there were probably other classes in use.

-Arne
arne@synercom-edi.com "There are no absolutes but this one."
President, synercom/edi - Event Ticketing Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform