Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set classlib - and alias in use?
Message
De
15/10/2008 08:11:42
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
15/10/2008 08:06:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01355033
Message ID:
01355084
Vues:
35
>>>What else might I check for?
>>>
>>Hilmar,
>>
>>I would suspect that the classlib is already open when the command is issued. A classlib is simply a DBF with a different extension so the alias name is in use error makes full sense if the class lib ius already open with that alias and you try to open it again.
>
>Indeed, it is. But it is my understanding that Visual FoxPro should check whether the classlib is already open, before adding it to the list. Çetin gives a possible cause (two classlibs with the same name, in different folder). I had suspected that too, but that doesn't seem to be the case.

Hilmar,

have you tested SET('Classlib') against the lib to set (complete path, jusstem(), alias if specified )?

Try also to run through all Datasessions and test agains ALIAS (against jusstem(), alias of the lib) as well as DBF (complete path of the lib)

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform