Cursor Record Positioning

From: Sabine.Buechel <Sabine.Buechel_at_innosystec.de>
Date: Thu, 14 Feb 2002 10:10:55 +0100
Message-ID: <a4fuv2$2q5$02$1_at_news.t-online.com>



Hallo Experts,
Hoping someone can give me advice!
[Quoted] Problem is: how can I easily set the position of the cursor record (with a special VISUAL_ATTRIBUTE set) in a table-query-block to a special one? The Block can have an extra 'Filter' or an 'order by'. Need to do so after inserts and a Re-Query...

My solution at the moment is:
-save the primary key of the actual cursor record
-looping over all record, beginning at the first one
-every primary key is compared to the saved one
-take the next record, while calling 'next_record'
-stop, if the key is matching

But isn't there a better solution?

S.Buechel Received on Thu Feb 14 2002 - 10:10:55 CET

Original text of this message