Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set classlib to (lcLib) additive in VFP 9
Message
De
11/07/2005 08:25:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01031157
Message ID:
01031161
Vues:
20
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform