Prev and Next in QUICK screens

Deskin, Bob Bob.Deskin@Cognos.COM
Tue, 25 Feb 2003 09:21:30 -0500


The difference is whether you're displaying records in the cache or reading
the file backwards. When you use a cache, a find/select will load the cache.
After that you move back and forth within the cache. Think of your terminal
display as a window into the cache. You only read more records when you get
to the end of the cache. Without a cache, you read forwards or backwards. So
instead of moving a block of records at a time, you read one record at a
time. That's why the records appear in reverse order.

When you use a cache, you load the cache and then move within it. So if you
move forward window by window (or screenload by screenload) at some point
you'll get to the end. The way we show the end of the cache is to show a
single empty line. It is possible to see records more than once as you move
forward. But then the user could more forward and backward and see the same
record many times.

I don't know that you can easily show records once only. We have had many
requests for this in the past but the cache and scroll internals are very
touchy and we are loathe to change them for fear of breaking something
badly.

Sorry I don't have a solution for you, but at least you know why it's
happening.

Bob Deskin              
PowerHouse Web Product Manager, Application Development Tools, Cognos Inc.
bob.deskin@cognos.com (613) 738-1338 ext 7268 FAX: (613) 727-1178
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA

-----Original Message-----
From: Gail_M_Guthrie@keane.com [mailto:Gail_M_Guthrie@keane.com]
Sent: Tuesday, February 25, 2003 7:51 AM
To: powerh-l@lists.swau.edu
Subject: Prev and Next in QUICK screens


Hi

This is on an HP3000 box IMAGE database
PowerHouse  8.19.C1

I am creating a quick screen which can use both prev and next.
This screen is in block mode with an occurs on the file of 12. The temp
items are within the cluster statement to be displayed.

If I use the cache on the file then the last screen, displays previously
shown records.
If I remove the cache option then the previously displayed record are shown
in reverse but the last screen only displays the remaining records

I am trying to stop the last screen from showing the additional records.

Any help would be greatly appreciated.

Gail

= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.