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

 Same Page: One Search and Multiple Grids

Print topic Send  topic

Author Message
bigtoe

Posts: 115
Posted: 01/06/2005, 9:59 PM


I have a database table called "A_items" with the columns:
Customer_ID, Customer_Name, A_Quantity, A_Availability, ...

I used CCS to create a Search and Grid form page.
The Search contains Customer_ID and Customer_Name.
The "A_items" Grid contains Customer_ID, Customer_Name, A_Quantity, A_Availability, ...

All this works fine.

I also have a table called "B_items" with the columns:
Customer_ID, Customer_Name, B_Quantity, B_Availability, ...

I would like to modify the above form page so that:

a. It contains 1 Search and 2 Grids.
b. The "A_items" Grid contains Customer_ID, Customer_Name, A_Quantity, A_Availability, ...
c. The "B_items" Grid contains Customer_ID, Customer_Name, B_Quantity, B_Availability, ...
d. The Search contains Customer_ID and Customer_Name.
e. The Search button would produce results for BOTH of these 2 Grids.

How do I modify the above form page to accomplish this?

Thanks.




View profile  Send private message
Proton
Posted: 01/09/2005, 1:32 AM

It's very simple. The search grid working on form. When you click "search" button, the form send your choise (i.e. Customer_ID = 1) as the adres param. In both forms you can get this param and insert into SQL syntax. Look at the first grid (if he was generated in wizard) and do the same in second.
(I'm sorry for my english, but hope you underestand me)
bigtoe

Posts: 115
Posted: 01/09/2005, 4:38 AM

Ok.
Where is the grid's SQL syntax located?
And how can I give this SQL syntax the search parameters?

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