× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 08/10/2016 12:41:54
PM:
To put closure on the thread, here is what I found:

exec sql declare C1 DYNAMIC SCROLL cursor for
select * from TLEH order by HID;
exec sql open C1;
exec sql fetch relative :wCount from C1 into :wRecordDS;

where wCount is the RRN number for the record desired. That positioned
to the detail record I wanted and still allows me to rollup/rolldown for

the next & prior detail record.

My understanding of "fetch relative" is that it is relative to
your current position in the cursor. Thus, I do not understand how an RRN
will work in this instance. Can you explain that? Also, what method are
you using to determine "the RRN number for the record desired"?

Sincerely,

Dave Clark

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.