>> *-- The 2 parameters are defintely correct. If I break and >> *-- type the command with literals in the command window >> *-- I get the same problem. >> >> *-- eg. This.cLocDatClass = "cdatShiftLocal" >> *-- This.cLocDatLib = "cLocalData.vcx" >> >> IF UPPER(this.oEnv.cData) = "LOCAL" >> this.oData = NEWOBJECT(this.cLocDatClass,this.cLocDatLib) >> ELSE >> this.oData = NEWOBJECT(this.cRemDatClass,this.cRemDatLib) >> ENDIF >>