Hey Hi,
I have gotta Problem ...am building a search page..
which should search by First name,last name,middle name and
Grdauation year...sometimes some people doesnt have a middle name..even in that case i want the details to be displayed....
here is the query i have written in RecordsetQuery option iN Ultradev...
SELECT *
FROM alumni WHERE Fname LIKE 'FirstName%' AND Lname LIKE 'LastName%'AND Mname Like 'MiddleName%'
...i am not able to search...and when ever i search my database..all records are being displayed.....i mean to say my search critreia is not working...
and am dumping these first,middle and last names ito a form thru
Request.Form("Name"
....i mean am dumping all of these values into fild named
Name:
my table contains fields like Fname,Mname,Lname,GradYear,Email and Major
My Resulst Page looks Like this......
------------------------------------
Name:
Garduation Year:
E-Mail address:
-------------------------------------
hoping for a urgent reply.....
sincerely,
pradeep
I have gotta Problem ...am building a search page..
which should search by First name,last name,middle name and
Grdauation year...sometimes some people doesnt have a middle name..even in that case i want the details to be displayed....
here is the query i have written in RecordsetQuery option iN Ultradev...
SELECT *
FROM alumni WHERE Fname LIKE 'FirstName%' AND Lname LIKE 'LastName%'AND Mname Like 'MiddleName%'
...i am not able to search...and when ever i search my database..all records are being displayed.....i mean to say my search critreia is not working...
and am dumping these first,middle and last names ito a form thru
Request.Form("Name"
Name:
my table contains fields like Fname,Mname,Lname,GradYear,Email and Major
My Resulst Page looks Like this......
------------------------------------
Name:
Garduation Year:
E-Mail address:
-------------------------------------
hoping for a urgent reply.....
sincerely,
pradeep