CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 question about display grid from a query

Print topic Send  topic

Author Message
dix
Posted: 03/20/2002, 11:07 AM

i'm doing a search on a query that includes a main table and secondary table that contains a one to many relationship, main to secondary. (i.e. one organization to many service areas).

when i display the original page, if i use the query for the grid, i have mulitiple instances of the main organization, since it has many service ares (the service areas are not actually to be displayed until a specific record is requested.)

how do i keep the organizations from repeating in my inital grid? i have to use the query because they need to be able to search by service area, even though they are not displayed on the initial grid.
Nicole
Posted: 03/20/2002, 11:58 PM

Dix,
try to use custom query with DISTINCT directive as source of Grid form. Add fields you want to search on to custom query and specify Input parameters for grid form as usual.

   


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.