Ho un problema con questo codice:
codice:
Set rs = DBConn.Execute("SELECT * FROM messaggi where id = "&cod&" order by DData asc")
nel sens che quando la condizione prevista nella query non è soddisfatta, il codice restitusce:
Error Type:
ADODB.Recordset (0x800A0BCD)
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.
Dove sbaglio?

Grazie