CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 TableS Search, One Search Text Box, Multiple Grids

Print topic Send  topic

Author Message
gabs
Posted: 11/21/2002, 11:56 PM

Could anyone help me on how to create an ASP page
where ONE Search TextBox can search Multiple Tables and
display it's results on Multiple Grids?

Example
TABLE - External Failure
TABLE - Internal Failure

Common Field between the two - PRODUCT NUMBER

So have a Grid with External Failure, and a Grid with Internal Failure
That when you search for a PRODUCT NUMBER you will get the result of each table on it's corresponding grid on the same page.

SEARCH BOX

---INTERNAL FAILURE GRID
result
----

---EXTERNAL FAILURE GRID
result
----


Thanks in advanced
Gabs
xbill
Posted: 11/22/2002, 8:59 AM

Here is the outline for CCS- the CC approach is
similiar, but a little harder to work with.

The search works by adding a new POST (or URL) variable
and passing it to the grid on the same page or a new page.

The grid on the destination page matches the variable and
filters the results. To get to the filter variables - use
the middle "data" tab on the Properties toolbox- select
the datasource and click the three dots on the right hand
side. This brings up the SQL editor- you can then click
on one of the rules to see the exact match.

To do two grids- use the grid+record builder to create the
first grid. Review the generated grid- there will be
a search parameter in the SQL editor.

Create a new grid with the grid builder- and add the
same search parameter to the second grid.

You can also change tables or add additional filters- as long
as the name of the field from the search parameter
is the same.

-bill
gabs
Posted: 11/22/2002, 9:53 AM

Thank you very much "xbill"

Worked like a charm !!! Many thanks again !!

   


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.