Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set classlib to (lcLib) additive in VFP 9
Message
From
11/07/2005 08:25:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01031157
Message ID:
01031161
Views:
21
>I am converting an application from VFP 6 to VFP 9. A code that worked well in VFP 6 now bombs on the following line in VFP 9:
>
>
>set classlib to (lcLibrary) additive
>
>
>Error: Alias already in use.
>
>Does it mean that VFP 6 was ignoring the case when a library is already loaded and VFP 9 is more strict? This code is in older version of SFQuery (Stonefield Query) which obviously was written before release of VFP 9.
>
>Thank you for any suggestions.

They behave the same way in 6 and 9. Either:
-Check if already in loaded classlibs - if !(upper(m.lcLibrary)$upper(set('classlib')))
-Alias your classlibs explicitly
-Use newobject instead
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform