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

 {Total_Pages} incorrect

Print topic Send  topic

Author Message
gsc

Posts: 7
Posted: 10/10/2011, 8:48 AM

I am using navigation to go through the pages of a Grid.

The problem is that my {Total_Pages} element is incorrect when the current page is not the last or the one before the last. Practical example:
- The grid has 5 pages
* On page 1 it is displayed: Page 1 of 2
* Then I progress to page 2 and it displays: Page 2 of 3
* Then I progress to page 3 and it displays: Page 3 of 4
* Then I progress to page 4 and it displays: Page 4 of 5
* Then I progress to page 5 and it displays: Page 5 of 5

On pages 1, 2 and 3 the total number of pages displayed is incorrect.

Clicking on "Go to last page" reflects that.
Practical example:
In page 3 I click the symbol that is supposed to take me to the last page, and I am taken to page 4.

Did anyone go through this? Is this a known bug? Any ideas?

Thank you in advance.
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 10/10/2011, 9:16 AM

gsc,

I have never experienced this issue. However I do have a question. Is your Grid attached to a single table or a query of multiple tables?
View profile  Send private message
gsc

Posts: 7
Posted: 10/11/2011, 1:23 AM

it is in fact a query of multiple tables
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 10/11/2011, 8:29 PM

gsc,

As a matter of fact, I have run into this issue before. Let me see if I can find my information about it.
View profile  Send private message
gsc

Posts: 7
Posted: 11/17/2011, 1:33 AM

mamboBROWN

I was wondering if you managed to find anything?

thank you
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 11/18/2011, 5:50 AM

gsc,

Here is a link (I know it's old but...) that may be useful: http://forums.yessoftware.com/posts.php?post_id=73321&s_keyword=total+pages

I do give a link to documentation that gives more details about the issue (scroll down to the bottom of documentation and read the Custom SQL section.

I am still looking because I think there is more information about this known issue.
View profile  Send private message
gsc

Posts: 7
Posted: 11/21/2011, 12:54 AM

thank you

I will take a look into that
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.