database search form - NO RESULTS

G

Guest

I am trying to add a databse search form to my web site. I've got it hooked
up to the database, and have followed the step-by-step instructions in the
Database Results Wizard process.

HOWEVER...whenever I upload and attempt to use the results wizard (using a
search form), I always get the reply "No Results Found". I can't get the
search form to actually FIND any of my results in my database. What could be
the problem? Please help!
 
G

Guest

SELECT * FROM Results WHERE (State LIKE '%::State::%' AND City LIKE
'%::City::%' AND Last_Name LIKE '%::Last_Name::%' AND First_Name LIKE
'%::First_Name::%' AND Possible_Speaking_Topics LIKE
'%::possible_Speaking_Topics::%')

Actually...I've worked for a while, and THIS is now working.

However, I have another question that you might be able to answer. I would
like to be able to have the user perform this search...and THEN have them be
able to click on the column headings of the returned table, in order to sort
the table by that column. I read a previous post where you gave some insight
on this, but I haven't been able to make that work. For some reason, when I
use the "SortColumn" string, that throws everything off -- and I get an error
message, something about database connectivity. Can you give me some insight
on how to do this?

Also...I'm wondering if I'm even going to be ABLE to accomplish this with
the table showing the results of the search...or if I'd only be able to sort
the ENTIRE table with all records from the database? Your thoughts?

-- Nate
 
G

Guest

I'm not very proficient in HTML or programming, so I was hoping there was a
way to accomplish this by using the FrontPage database results wizard (DRW).
I'm trying to do the following:

1) Return results from a database query (already working)

2) Then...be able to SORT the results of that query by clicking on a column
heading in that table.

Can anyone help? Thanks!


-- Nate
 
A

Andrew Murray

In the DB results wizard screens, there is the option to sort
ascending/descending. In the "Criteria" screen or similar.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top