|
| |
|
|
loriellen
Posts: 13 Joined: 1/24/2002 From: Status: offline
|
Help please! Re: post search results to 2nd page - 1/25/2002 14:07:05
Hello, I'm so confused. I've read through hundreds of messages on this forum and studied the tutorial, but I'm just not GETTING it. I want my database results to show up on a different page from the search form. Right now, when view my search page, the first five records in my database appear below the search boxes. I don't want ANY results to show up until the viewer has entered search criteria. Actually, it doesn't matter if they show up on the same page once the search criteria has been entered. I don't know how to prevent those first few records from showing up initially, though. Please reply if you need clarification about my problem. I can't believe this can be so complicated, so I'll be so relieved when I see the light...thanks so much for your help!
|
|
|
|
William Lee
Posts: 1179 Joined: 1/25/2002 From: Singapore Status: offline
|
RE: Help please! Re: post search results to 2nd page - 2/22/2002 15:27:50
quote: Hello, I'm so confused. I've read through hundreds of messages on this forum and studied the tutorial, but I'm just not GETTING it. I want my database results to show up on a different page from the search form. Right now, when view my search page, the first five records in my database appear below the search boxes. I don't want ANY results to show up until the viewer has entered search criteria. Actually, it doesn't matter if they show up on the same page once the search criteria has been entered. I don't know how to prevent those first few records from showing up initially, though. Please reply if you need clarification about my problem. I can't believe this can be so complicated, so I'll be so relieved when I see the light...thanks so much for your help!
I know this is a bit behind time, but... Make a copy of your page and remove the results region from the first.asp. Set the form properties of both pages to POST to the second.asp. In Normal View, right-click on the form, select Form Properties, Send to other: Custom ISAPI, NSAPI, CGI, or ASP Script. Click on Options, and set the Action to: second.asp. Click OK twice. You have now set the form in first.asp to post to second.asp when the user hits the Submit button. If you do not want to open a new browser window, add Target="_self" like this: <form BOTID="0" METHOD="POST" ACTION="second.asp" Target="_self"> So, when you first access the search page (first.asp) you do not run the DRW through a search. You enter what you want, click button and DRW starts on second.asp. New searches can be performed at second.asp too. William Lee
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|