Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Cursor Record Position

Cursor Record Position

From: Sabine.Buechel <Sabine.Buechel_at_innosystec.de>
Date: Wed, 13 Feb 2002 14:38:55 +0100
Message-ID: <a4dq9m$ocf$00$1@news.t-online.com>


Hallo all,
Hoping someone can give me advice!
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? Couldn't there be used the RECORD_ID for positioning?

S.Buechel Received on Wed Feb 13 2002 - 07:38:55 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US