CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 i dont want to show the record

Print topic Send  topic

Author Message
Andrew yam
Posted: 05/06/2003, 10:45 PM

what will i do in order to not show the records in the search page....because when i click live page it shows the records of the tables...what i want to to is not to show the records until i search for it...how will i do it? need help
Stephen
Posted: 05/09/2003, 4:29 AM

In the page after_initialise event:
>Get the search parameters from the url and check if it is set
>If it is not set set the visible property of your grid to false
eg in PHP
global $mygrid;
if((CCGetParam("search","none")) == "none"){
$mygrid->Visible="false";
}
else{
$mygrid->Visible="true";
}
Rene
Posted: 05/09/2003, 5:11 AM

Hi,

easy way is to make a result page, where you show your searchresults and a new search option. It looks like one page but there are two.

Rene

   


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

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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