Oracle Reports SELECT INTO Not Selecting

Posted by Kevin Cruz on Stack Overflow See other posts from Stack Overflow or by Kevin Cruz
Published on 2012-08-27T21:35:46Z Indexed on 2012/08/27 21:38 UTC
Read the original article Hit count: 146

Filed under:
|
|
|

I'm working on a Report in Oracle Reports Builder, and having issues with my AFTERPFORM trigger. When viewing the report, it seems like the year is being processed properly, while the period and subperiod are using their initial values. I'm confused because they are the exact same select statement, but are not working as intended. Any help would be greatly appreciated!

function AfterPForm return boolean is
  v_subpdenddt_user date;
  v_subpdenddt_max date;
  v_rowcount integer;
begin

select value into year from wos_report_param where parameter = 'year' and sequence_num = :sequencenum;
select value into period from wos_report_param where parameter = 'period' and sequence_num = :sequencenum;
select value into user_subpd from wos_report_param where parameter = 'subpd' and sequence_num = :sequencenum;

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about triggers