luTemp = this.cOldClasslib *-- There is a bug in VFP that prevents a SET() function from *-- returning more than 254 characters. There have been *-- situations where this caused problems when trying to restore *-- the setting of SET CLASSLIB. For safety's sake, I do not *-- restore SET CLASSLIB if this.cOldClasslib > 200 characters. IF LEN(luTemp) > 200 luTemp = '' ENDIF SET CLASSLIB TO &luTempI think, we don't have 254 macro limitation any more. AFAIK, the limit is ~9000. So, would it make sense to remove the if condition?