Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Cursor Record Position
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