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
|
|
|
 |
|