>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