ADODB.Field error '800a0bcd'

Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.

/genealogia-mineira/restrita/funcoes.inc, line 111