roders
Posts: 127
|
| Posted: 06/19/2006, 2:23 AM |
|
Hi all,
Am experiencing a problem with my display page, which displays a list of product. Currently i have set the navigation to show default 8 record per page and theres only 5 item in the system. But even though it keep showing that there's 3 page of record display. But when i click on next its show no records. Does anybody know:
1. Why its doing this?
2. How to fix this?
Thx for your help.
_________________
roders |
 |
 |
Damian Hupfeld
|
| Posted: 06/19/2006, 4:52 AM |
|
Did you modify the data source?
"roders" <roders@forum.codecharge> wrote in message
news:544966d0dba42a@news.codecharge.com...
> Hi all,
> Am experiencing a problem with my display page, which displays a list of
> product. Currently i have set the navigation to show default 8 record per
> page
> and theres only 5 item in the system. But even though it keep showing
> that
> there's 3 page of record display. But when i click on next its show no
> records.
> Does anybody know:
> 1. Why its doing this?
> 2. How to fix this?
> Thx for your help.
> _________________
> roders
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
roders
Posts: 127
|
| Posted: 06/19/2006, 5:14 AM |
|
Yes i did. I've added some lines to it, becoz its a search, i've modified it when its posted.
_________________
roders |
 |
 |
Damian Hupfeld
|
| Posted: 06/19/2006, 6:45 AM |
|
There are several discussions - particularly a recent one where it tells how
to modify your Navigator to get accurate counts if you have modified your
DataSource.
I think its somewhere in this (lengthy) thread -
http://forums.yessoftware.com/posts.php?post_id=72310
Damian
"roders" <roders@forum.codecharge> wrote in message
news:54496950f86d02@news.codecharge.com...
> Yes i did. I've added some lines to it, becoz its a search, i've modified
> it
> when its posted.
> _________________
> roders
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
roders
Posts: 127
|
| Posted: 06/19/2006, 7:16 AM |
|
Thx for your answer was looking in the code, and realised that it does a count query always before the search. And becoz of the modification, it was looking for all the record, so i changed the count query and set it up in the same format for the search and guess wat it works.
_________________
roders |
 |
 |
klwillis
Posts: 428
|
| Posted: 06/25/2006, 2:28 PM |
|
You may need to update the 'CountSQL' property for the DataSource object - to insure the navigator control uses the correct record count
based on your selection query.
Quote roders:
Hi all,
Am experiencing a problem with my display page, which displays a list of product. Currently i have set the navigation to show default 8 record per page and theres only 5 item in the system. But even though it keep showing that there's 3 page of record display. But when i click on next its show no records. Does anybody know:
1. Why its doing this?
2. How to fix this?
Thx for your help.
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"
Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006 |
 |
 |
|