CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Separate search results page.

Print topic Send  topic

Author Message
Me
Posted: 11/13/2002, 12:55 PM

Can anyone tell me how to do following:

I want the results from a search to be shown on another page than the
one containing the search field. I have tried setting another return page but
it just dont work. it just shows the search page instead and no results.

Or is it possible to have the search page not to show any results when loaded.
as it is now, when the search page is shown it performs a full search, showin all records... how do i prvent that ?

Ken Hardwick
Posted: 11/13/2002, 1:37 PM

You did not indicate which CC product you use or what format you generate your code into..however..for CC/ASP

In Page open event
if Session("SearchFor") = "" then
Session("SearchFor") = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
end if

In Search form Close event
if fldSearchFor <> "" then
Session("SearchFor") = fldSearchFor
End if

Then in your grid set your field input value to Session("searchFor")


So, end result...Grid will search for "XXXXXXXXXXXXXXXXXXXXXXXXXXXX" the first time..so no results...then once the user does a search..it will search for entered value...and even,if user leaves current page, and then returns, the last search values is saved...


Me
Posted: 11/13/2002, 3:14 PM

Ups... I use CCS and PHP

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.