CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Help - Gridbuilder - How to only show results/populate grid after search has occured.

Print topic Send  topic

Author Message
au_newbie

Posts: 2
Posted: 09/13/2009, 8:41 PM

Hi ,
I am a newbie to Codecharge studio and I am trying to work things out.

I am using GridBuilder with a searchbox.

I have a very large database and I am finding when publish the project it just freezes up.
I have two tables - order and despatch and include a search textbox.

If I only use one table the grid populates starigh away, if I use two tables the page just freezes when I run it.

Q. How do I get the grid to only display results, after the user has entered a value in the search box?

Any help would be much appreciated.


Regards
Steve
View profile  Send private message
ReneS

Posts: 225
Posted: 09/14/2009, 10:53 AM

Hi,

In your "WHERE" clause put a default value that is unlikely, like -1

Rene
View profile  Send private message
Jan K. van Dalen
Posted: 09/14/2009, 1:53 PM

Another option is to hide the grid (panel) if the keyword (search field) is
empty.

"ReneS" <ReneS@forum.codecharge> wrote in message
news:24aae83197e251@news.codecharge.com...
> Hi,
>
> In your "WHERE" clause put a default value that is unlikely, like -1
>
> Rene
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
peterr


Posts: 5971
Posted: 09/14/2009, 2:03 PM

Steve,

Or you can use CCS documentation:
http://support.yessoftware.com/kb_article.asp?article_id=65
http://docs.codecharge.com/studio3/html/index.html?http...s/HideGrid.html

Hope this helps.

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
au_newbie

Posts: 2
Posted: 09/14/2009, 2:03 PM

Thanks guys
The -1 worked great :-)
Cheers
Steve
View profile  Send private message

Add new topic Subscribe to topic   


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

MS Access to Web

Convert MS Access to Web.
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.