CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Passing parameters between two grids in the same page, depending on value in URL param?

Print topic Send  topic

Author Message
infobih

Posts: 58
Posted: 11/01/2009, 6:09 AM

Hi all

I have two grid in the samepage.


First grid is one article from user, called by "article_id" in URL param. Every article has ("article_id","user_id" etc in the table articles)

ex. URL domaine.com/article.php?article_id=250

Second grid should be list of all published articles from that user (with same "user_id" value)

How to get second grid correct? Where to put condition "WHERE..." : in the SQL bulider or Event ??

Thanks for your help.
View profile  Send private message
damian

Posts: 838
Posted: 11/01/2009, 9:43 PM

the absolute easiest way to do this is to pass 2 url parameters with the original link:
article_id=
user_id=
each of your 2 grids will only use 1 of these parameters in its data source...


_________________
if you found this post useful take the time to help someone else.... :)
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.

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.