Open twice (or more) the same cursor
From: Bernard Drolet <bernard_at_drolet.com>
Date: 2 Nov 2003 20:00:22 -0800
Message-ID: <a9ccc9f9.0311022000.2ce6af4e_at_posting.google.com>
Date: 2 Nov 2003 20:00:22 -0800
Message-ID: <a9ccc9f9.0311022000.2ce6af4e_at_posting.google.com>
Something like
OPEN findChildren(1234, 'A');
LOOP
FETCH findChildren INTO ref, name EXIT WHEN findChildren%NOTFOUND;
-- I have found an object A,
-- I need to know if there is a B below A
OPEN findChildren(ref, 'B'); LOOP FETCH findChildren INTO ref2, name2 EXIT WHEN findChildren%NOTFOUND; -- YES, there is a B, process it ...
Is it possible without creating a duplicate of cursor findChildren ?
Thank you
Bernard Drolet Received on Mon Nov 03 2003 - 05:00:22 CET