CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Tabs: can't get the filter condition effect the detail display

Print topic Send  topic

Author Message
ozz

Posts: 1
Posted: 08/29/2010, 5:07 AM

Hi,

I have a screen with 2 Tabs:

1 for filtering / searching for a given subset (later called filter)
1 for displaying the list of records (later called list)

I used the search builder to fill the filter tab
and the record builder for the list tab.

My problem is: the search condition is not reaching the display of the record

The return page for the search tab allows me only to specify the page "xy.ccp" not the tab "z" within the page. However, after pushing the search button the display returns to the first tab which is the display of the result list.
The records displayed are not effected by the filter though.

I have the idea that either
a) the filter tab could preset the where clause of the list datasource or
b) the detail tab could retrieve any condition from the filter tab.

But I have no idea how to formulate either one as custom code?!?
Or maybe there is an even better way?

I have tried generating the solution with the "Grid and Record Builder" and looked
at the code to understand how the criteria are propagated across the objects but I could not make any sense of it .

So help would be welcome. Especially about how to communicate best between the different class objects.

Thanks a lot
Olaf

_________________
..its been lonely in the saddle since the horse died!
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 08/31/2010, 7:46 PM

ozz,
Maybe you can create a flag that represents each tab and based on the tab value in the url that tab (and it's content ) will be the active tab.
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.