codice:
"SELECT * FROM gallery WHERE username= '" & username & "' & categoria= '" & categoria & "' & fotom= '" & fotom & "'"
premetto che con access mi da quello che voglio, che poi è un record solo.

funziona anche se metto solamente where fotom....

come mai?

l'errore che mi da è

ADODB.Field error '80020009'

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

?