Unable to open a record-set from the result-set database