Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    1

    Unanswered: Update row from Oracle Reports

    I would like to update the current selected row from Oracle reports after I have reported on it. Another deveoper suggested using the After Report trigger but did not indicate how to limit the update to just the row I selected for reporting.
    report query: select * from reporttable where processedflag = 'N' and rownum = 1;
    I need to set processedflag to 'Y' after reporting.

    Any suggestions?

  2. #2
    Join Date
    Mar 2004
    Location
    Concord, MA
    Posts
    27

    Re: Update row from Oracle Reports

    Originally posted by carsonb3
    I would like to update the current selected row from Oracle reports after I have reported on it. Another deveoper suggested using the After Report trigger but did not indicate how to limit the update to just the row I selected for reporting.
    report query: select * from reporttable where processedflag = 'N' and rownum = 1;
    I need to set processedflag to 'Y' after reporting.

    Any suggestions?

    you can use rowid to capture the current record and then update it to 'Y' as required.....
    ~bagchi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •