local llRetVal if this.datasourcetype = [ADO] llRetVal = dodefault(llSchema, llNoData, lnOptions, this.oADO_Command) else if pcount() = 4 llRetVal = dodefault(llSchema, llNoData, lnOptions, luSource) else llRetVal = dodefault(llSchema, llNoData, lnOptions) endif endif nodefault if not m.llRetVal && There was an error trying to execute CursorFill local laError[1] aerror(laError) if laError[1,1] <> 1839 =ErrorMsg("Error trying to execute CursorFill method: " + laError[1,2] + ; chr(13) + chr(10) + "SelectCMD is " + this.selectcmd) ELSE if vartype(m.plStop) = "L" this.lRepeatRequery = not m.plStop endif endif endif return m.llRetValwhich probably was my own addition, though.