Armando, So, if I understand correctly, if the record set record count is zero then oRs:RecordCount() will error out? If so, then we can try changing bBookMark to (in the SetADO() method): ::bBookMark := {| n | If( n == nil,; If( ::oRs != nil .and. If( ::oRs:BOF() .AND. oRs:EOF(...