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 -> General/Other

 Navigator Bug

Print topic Send  topic

Author Message
smokingguns


Posts: 51
Posted: 06/09/2009, 12:50 PM

Hey all,
Whenever I add a navigator to a grid, It shows me only 2 page links. These are the options I choose(I have added navigators scores of times before and this stumps me totally) when I add a navigator:
Current Page in the center and Show Total Pages. I have set the Number of page links to 10.

When I view the page in browser , here is how the navigator display the links:

1 2 of 2
On clicking page link 2, the navigator changes to this:
1 2 3 of 3. Now on clicking page link 3, it becomes:
1 2 3 4 of 4.

Its as if the links are hidden and are being uncovered.
There is 9 pages of data. Shouldnt it show all 9 page links at once??
Has anybody seen this before.

Im using CCS 4.1
View profile  Send private message
Edd


Posts: 547
Posted: 06/09/2009, 3:59 PM

This happens when your SQL for the grid is so complicated that when CCS wraps the Select Count statement around it to build navigation its results cannot be interpreted.

2 Methods of fixing this:
1. Create a view of the SQL statement in the database then reference the view.(my preference)
2. Generate your own Count statement


Cheers - Edd


_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
smokingguns


Posts: 51
Posted: 06/10/2009, 7:11 AM

Thanks Edd,
That solved the problem. CCS never generated the Count SQL.
View profile  Send private message
tcb

Posts: 34
Posted: 08/06/2009, 1:21 PM

I just ran into this and ended up making a View.

Is there a publicly available Bug List and is this in it?
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.

Web Database

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.