Re: FORMS4.5: returning multiple rows?
From: Joseph Strano <stranoj.dulcian_at_worldnet.att.net>
Date: 1997/08/01
Message-ID: <33E24FCE.6549_at_worldnet.att.net>#1/1
Date: 1997/08/01
Message-ID: <33E24FCE.6549_at_worldnet.att.net>#1/1
Use an explicit cursor. Here's the syntax:
DECLARE
cursor <NAME> is
select ---- from --- where ---;
BEGIN
for <NAME>_rec in <name> loop
end loop;
You can access the data the cursor returns you by using: <NAME>_rec.<COLUMN>
If this doesn't help, let me know.
-- Joe Strano Dulcian, Inc. ---------------------- edwards_at_garland.dnr.state.sc.us wrote:Received on Fri Aug 01 1997 - 00:00:00 CEST
>
> when a query is executed that returns more than one row,
> Forms4.5 allows the user to move through the returned rows
> with arrow keys or buttons.
> However when I create a trigger on a button that executes
> a query which returns more than one row, I get the too_many_rows
> exception.
>
> How can I allow the user to move through multiple rows?