Gazing into my crystal ball I observed "Willem" <wv******@tiscali.nl>
writing in news:42*********************@dreader1.news.tiscali .nl:
Hi,
I have a newbie question: is it possible to make a search form in asp
that searches in two different databases (access)?
Willem
Are you talking about two different databases, or two different tables?
If two databases, see prior responses.
If two tables, then you can do:
sql = "SELECT field FROM table1 WHERE field = '" & keyword & "'"
sql = sql & " UNION "
sql = sql & " SELECT field FROM table2 WHERE field = '" & keyword & "'"
--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share