Salve a tutti,
ho un db (contatti) con due tabelle (istituti, Persone), con soli 4 campi simili (nome, cellulare, fax, mail), gli altri campi sono differenti.
Vorrei impostare una query di ricerca, ma non ci riesco, leggendo i post precedenti sono riuscito a risolvere in questo modo:

codice:
sql = "SELECT istituti.*, Persone.* FROM istituti, Persone WHERE Persone.nome LIKE '%" & termine & "%' OR Persone.indirizzo LIKE '%" & termine & "%' OR Persone.gruppo LIKE '%" & termine & "%' OR istituti.gruppo LIKE '%" & termine & "%' OR istituti.nome LIKE '%" & termine & "%' OR istituti.mail LIKE '%" & termine & "%' OR Istituti.fax LIKE '%" & termine & "%' "
In questo caso la query funziona, ma non riesco a stamparmi i recordset, se faccio:

Response.write Recordset("gruppo")

mi da quest'errore:
Item cannot be found in the collection corresponding to the requested name or ordinal.

Grazie, ciao.