lcname = strextract(...) Public &lcname && Why? If You add &lcname as a p[roperty there is no need to PUBLIC that as a variable this.addproperty(&lcname) public &lcname && Why declare it again? this.&lcname=CreateObject('Cursorclass', lcCAfilename) & Add CursorAdapter return 1I shuold do this that way:
lcname = strextract(...) this.AddObject(&lcname, 'Cursorclass', "", lcCAfilename) return 1