Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set classlib - and alias in use?
Message
From
15/10/2008 08:11:42
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
15/10/2008 08:06:22
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01355033
Message ID:
01355084
Views:
36
>>>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]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform