Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Classlib
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00065671
Message ID:
00065889
Vues:
37
>>>>Interesting problem...
>>>>
>>>>We have 2 class libraries, one named 1500, one named 2360.
>>>>
>>>>When we issue
>>>>SET CLASSLIB TO 1500
>>>>
>>>>Everything is Ok,
>>>>
>>>>But later when we want to
>>>>SET CLASSLIB TO 2360 ADDITIVE
>>>>
>>>>We get an error about the ALIAS is already used?
>>>>.
>>>>.
>>>>.
>>>>
>>>>After a little research, loading 1500 from the command window, SET('CLASSLIB') returns
>>>>
>>>>...\CLASSLIB\1500.VCX
>>>>
>>>>However, if you add a class library with a character name, it returns something like...
>>>>
>>>>SET CLASSLIB TO WAYNE
>>>>? SET('CLASSLIB)
>>>>...\CLASSLIB\WAYNE.VCX ALIAS WAYNE
>>>>
>>>>From what it looks like, you can't simultaneously load two libraries with numeric names??
>>>>
>>>>Anyone ever seen this?
>>>
>>>Not to be a jerk or anything but
>>>these class names are not very meaningful.
>>>Why not give them more meaningful english type
>>>descriptors. It would make the problem go
>>>away and stick to better development
>>>pratices.
>>>
>>>Sorry If I pissed you off with this one
>>>Jon
>>Well Jon, seeing as how they represent health claim forms named 1500 and 2360, they actually are very meaningful in the development environment/context we are in. To an outsider, they may appear confusing. If I were the one who named them, I may have used a better description, but that is really completely off the subject. The fact still remains that this should work, and it doesn't.
>>
>>Wayne
>>
>>PS My mom always told me that if I didn't have anything good to say, I shouldn't say anything at all.
>
>Did you use the ALIAS clause of the SET CLASSLIB and it still doesn't work?
>
>Vlad


Vlad,

Yes, that's exactly what I did. I just thought it interesting that VFP displayed the behavior.

Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform