Hi

Im still fairly new to this but have got a database online an dcan search on
a single file without any problems, Im using ASP to create my pages and all
is going well.

However I now want more, so Im trying to search across the whole dataset for
which Im doing something like

SQL = "Select * From tbl_births Where RegDistrict Like '%"&term&"%'"
SQL = SQL & " Or county Like '%"&term&"%'"
SQL = SQL & " Or Date Like '%"&term&"%'"
SQL = SQL & " Or pofbirth Like '%"term&"%'"
SQL = SQL & " Or Forenames Like '%"&term&"%'"
etc

this if fine for single words like smith, jone etc but how do I search using
say berman and Devon


Pointer appreciated


Regards

John Berman
[EMAIL PROTECTED]


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to