Update Column on The Database After Printing a Report Using BI Publisher

I need to update a flag on the database to say that a report has been printed. As the report is generated from the branch, I can't work out when and where to run my update process.
Any help would be appreciated.

2 things..
1) Please update your forum handle to a more FRIENDLY name.. We are a friendly group here and do NOT bite (much..)
2) Please try searching the forum for past articles before posting a new thread. There have a been a posting sin regards to your issue in the past 3 months..: http://forums.oracle.com/forums/search.jspa?objID=f137&q=rich+text+bi+publisher
Seems to be an issue of the RTF file containing reserved characters used in the XML file used to submit to Bi Publisher from APEX..
Thank you,
Tony Miller
Webster, TX
Never Surrender Dreams!
JMS
If this question is answered, please mark the thread as closed and assign points where earned..

Similar Messages

  • Problem with NIReport.llb\Print HTML Report using IE.vi on different machines

    We have 5 machines here in our workgroup which have the same state regarding security patches and other system updates. We recently found out that there is a problem with the NIReport.llb\Print HTML Report using IE.vi on the different machines.
    If I would open the VI on MachineA the control could be loaded. If I would open the VI on MachineB the control could be loaded. If I would copy the VI from MachineB to MachineA and open the VI the control could not be loaded. If I would copy the VI from MachineA to MachineB and open the VI on MachineB the control could be loaded. MachineB could load the version from MachineA and MachineB but on MachineA only the own version will load. I have seen that both versions have the same GUID for the Microsoft Webbrowser but are different in some other aereas.
    Since printing HTML Reports is part of the application which will be distributed as application I want to know if someone else have seen such a behaviour or has got problems distributing an application.
    Also I want to know which additional information is stored in an Active-X container about the control beside the GUID.
    We have Win XP Prof SP2 with MS IE 6.0.2900.2180 on all machines in the workgroup.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

    Hi Tom,
    this is the VI <vi.lib>\Utillitiy\NIReport.llb\Print HTML Report using IE.vi copied from a machine that can load and run the VI and it will print. On this machine the control in the VI is white.
    This VI will give the "Control could not be loaded" message on my machine.
    The file shdocvw.dll is 2006-10-23 16:18 size 1.460 KB and I verifyed that both machines have the same version of this file.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions
    Attachments:
    Print HTML Report using IE.png ‏11 KB

  • Error in switching from one database location  to another database location in Crystal Reports using JSP

    Hi,
    Please help me in resolving the issue while changing the database dynamically in crystal reports using JSP. I followed the below link to change DB connection dynamically.
    CRJava Modify DB Location
    Please help me on this.
    While switching from one database to another i found the issue.
    dbController.replaceConnection(oldConnectionInfo, newConnectionInfo,pFields,replaceParams);
    The Error is:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Subreport does not exist.---- Error code:-2147467259 Error code name:failed
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:732)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
        at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:480)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:421)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
        at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
        at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
        at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.char(SourceFile:220)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.new(SourceFile:240)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.do(SourceFile:452)
        at com.crystaldecisions.proxy.remoteagent.RemoteAgent.if(SourceFile:429)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:156)
        at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
        at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:65)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.a(SourceFile:1921)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValues(SourceFile:2237)
        at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurrentValue(SourceFile:2328)
        at org.apache.jsp.DynamicDB_jsp._jspService(DynamicDB_jsp.java:255)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
    Caused by: com.crystaldecisions.reports.reportdefinition.ReportModificationException: Subreport does not exist.
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.a(SourceFile:229)
        at com.businessobjects.reports.sdk.requesthandler.ParameterRequestHandler.for(SourceFile:214)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1492)
        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
        ... 47 more
    Any help Appreciated.
    Thanks
    Penchal

    Do you have subreports in your reports?
    If yes, set the connection info for the subreports as well.
    Additionaly refer to the below discussion
    http://scn.sap.com/thread/3153289
    As you are using Crystal reports for ecllipse runtime libraries to build your jsp, you would need to post your dicussions in the below forum to get better response.
    http://scn.sap.com/community/crystal-reports-for-eclipse
    The above space is dedicated for the issues with crystal reports for ecllipse.
    Thanks,
    Prithvi

  • Updating a column in the database

    Hi,
    My requirement is to update a column in the database just before calling
    OAException.raiseBundledOAException(getExceptionList());
    I am calling the above in a method in the AM
    Just before calling this I am Getting the handle of the VO (which is based on an EO, which in turn is based on the table which I want to update) and setting the value of that column as null. But the value is not getting updated at the database level.
    When I query the database I can still see the earlier value and not the updated value.
    In some cases I can see the value on the screen is updated but the value in the database remains same.
    Please let me know how do I update a column in the database and
    Thanks
    Meenal

    Hi,
    I guess, since an excpetion is raised the transaction is not commited automatically by the framework.
    Try commiting the transaction explicity after the update and before the exception. But i dont think, its a good design... anybody any idea ?!

  • Updating data in the database table

    Can any help me in the code for updating data in the database table.
    Regards,
    Rahul

    Hi Rahul,
    A slightly longer procedure that i'm adding here...
    1.) Create the component (i'm sure you have this covered)
    2.) Next on the button click that updates the database - add an action.
    3.) double click the action so that you are taken to the methods section of the view.
    4.) next you need to add the code that is required the update the database - this will be in the form of the above two posts.
    5.) compile and test the application
    Let me know in case you need further information on how to do this with a function module or something.
    Thanks.

  • RESTORING THE DATABASE AFTER BEING EDITED OR DELETED

    How to restore the database after being edited? I m using sql server 2008 R2, I've done backup with some foolish knowledge and many tables have disappeared from the database. I want to get them back. Please help me.

    Do you have backup which includes data which has been edited/removed by you .If so below query might help.
    use master
    go
    alter database db_name set single_user with rollback immediate
    go
    restore database db_name from disk='locaion of backup'
    with replace,recovery
    If you have transaction lgo backups as well please dont use above method.In such case you will need to  first restore full backup with no recovery like below and then apply all transaction logs with no recovery
    but the last transaction log with recovery( last trn log just before you edited)
    use master
    go
    alter database db_name set single_user with rollback immediate
    go
    restore database db_name from disk='locaion of backup'
    with replace,norecovery
    Hope this helps
    More details in below link
    http://www.karaszi.com/SQLServer/info_minimizing_data_loss.asp
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Inserting multiple selection from checkbox in to one column of the database

    Hi,
    how to insert multiple selection from checkbox into one column of the database.(I select array of values from checkbox ,then how to insert tat array of values iinto single column name).
    Anyone can u reply me
    Thanx

    hhhmmm.... is this what you mean?
    lets say you hava a checkbox1 with values value1, value2, value3 and you selected all there of them? then you want then to be stored in the database in one column?
    now the question is:
    Is it going to be one column one row?
    datafield
    value1,value2,value3
    Or one column multiple row?
    datafield
    value1
    value2
    value3
    Which is it?

  • Inserting multiple selection from checkbox into one column of the database

    Hi,
    How to insert multiple selection values from checkbox into one column of the database.
    Anyone can u help me
    Thanx

    hi
    try to use request.getParameterValues("fieldname")

  • I am having trouble with the "numbers" app on my MacBook Air. I go to print my document and that works just fine. I cannot however return to the document after printing. What do I have to do?

    I am having trouble with the "numbers" app on my MacBook Air. I go to print my document and that works just fine. I cannot however return to the document after printing. What do I have to do?

    RR,
    Not to worry, you're not the first to expect Print to finish by returning you to the edit mode. The thing is that Printing is so hit and miss with this version of the app, you will probably want to stay in the Print window for more than one attempt.
    Jerry

  • Page reload/refresh after printing Oracle report.

    I have upgraded from version 3.0.1 to version 4.0.1 and I am having an issue.
    I have a page with a tabular form (SQL Query - updateable report) which allows me
    to select items I want to print.
    The report looks like the following:
    Name          Print
    Template 1     Y/N
    Template 2     Y/N
    Template 3     Y/N
    Template 4     Y/N
    The print column is a static LOV with a 'Y' or 'N' option.When I submit the page, a MRU runs and sets a flag for each item I want to print in the database.
    It then branches using "Branch to URL Identified by Item (Use Item Name)". The URL specifies an Oracle report
    server and the oracle report to print.
    All this works fine and the items that were selected, print out. An Oracle Reports Job Status is displayed
    on screen (this originates from the oracle report server) to indicate that it has "successfully run" along with
    an OK button. The OK button contains the following code: javascript:history.back()
    A process also exists on the page ("On Load - Before Regions") that resets any flags that were set in the database
    when the page is loaded and so the report will displays all N's in the Print column.
    Now my problem is that in version 3.0.1 when I hit the OK button it would return to the page in the apex
    application that branched to the oracle report and the page would be reloaded, where as in version 4.0.1
    the page is not reloaded.
    Any ideas how to fix this or can someone suggest a new way of achieving the same result.
    Any help would be appreciated.
    Regards,
    Ryan

    Hi Prabodh,
    I have used Debug mode and I see 2 debug entries added.
    The first is just displaying all the page defaults - (I think the page gets reloaded when you select debug from the developer menu)
    The second is the SUBMIT request and it shows the initial value of the hidden item (ie null) and then where I changed its value (ie Y).
    The problem is, it does not list an entry for the page when it returns from the Report Status page, so I have no way of knowing if anything is
    changing its value. I even changed code to set the item to N instead of null and then to Y on submit. But when I return from the Status page
    the value remains at N, even though if I check the Session State values it will say Y. The only conclusion I can come to is that it is using the
    cached values and effectively just displaying the values set before I submit the page.
    I have been playing around with iFrames and it seems to work the way I want.
    I created a new Page (5), then a HTML region. Within the HTML region i have the following code
    <table>
    <tr>
      <td>
       <iframe src="&P1_URL." width="500" height="300"></iframe>
      </td>
    </tr>
    </table>I also create a button (Return) + branch and on submit will return to page 1.
    From page 1, instead of branching to a URL, I now branch to page 5. This loads the Report Status page into my iFrame and indicates that it was
    successful, but now instead of using the OK button within the status page I use the Return button that is part of the Apex application.
    This way I no longer need the javascript or hidden items to try refresh the page , it will be done automagically once the return button is pressed.
    I know it may not look great but it is the only solution I can get to work at the moment.
    Thanks again for all your help, I really appreciated it.
    Regards,
    Ryan

  • Tried to update ipad2 for the first time. now can´t use the ipad saying i need to turn off `find me`in icloud. HELP

    tried to update ipad2 for the first time. now can`t use ipad and it is saying i need to turn off `find me`in icloud. HELP

    You can access iCloud.com on a computer to turn it off.
    http://support.apple.com/kb/PH2702
    More >  http://support.apple.com/kb/HT5818

  • Is there going to be an update to fix the problem of cropping photos to use as wallpapers?

    is there going to be an update to fix the problem of cropping photos to use as wallpapers?

    There is no "voicemail bug".  Mine works just fine.
    Try resetting your iPhone.  Hold the on/off and home buttons together for about 10 seconds till the Apple logo appears.  You will not lose any data.

  • How can we use the same package in our report used by some other report

    how can we use the same package in our report used by some other report

    Hi,
    You just need to assign package while saving your report.
    No extra is required providing you are aware of package to be used.

  • Objects are updated/created in the database in wrong order

    Hello,
    I have three objects tied with certain relations: Ticket, Type and
    Solution.
    Relation between Ticket and Solution is unidirectional one-to-one - ticket
    may contain one solution. Relation between Type and Solution is one-to-many
    bi-directional.
    During transaction I do the following:
    1) instantiate new Solution and add it to the Type;
    2) set this Solution to the Ticket.
    On commit Kodo tries to update ticket before creating solution in the
    database. What am I doing wrong?
    Thank you in advance.
    Best regards,
    Alexey Maslov

    Alex,
    Thank you. It worked :)
    "Alex Roytman" <[email protected]> wrote in message
    news:[email protected]...
    The best way to handle update/insert order is not to rely on it. Not only
    foreign key sensitive to order but unique constraints too. So if your
    database supports it (and most decent databases do) use defferred
    constraints - the ones which get applied on commit not on
    insert/update/delete and you will be fine
    "Alexey Maslov" <[email protected]> wrote in message
    news:[email protected]...
    Patric,
    Thank you for response.
    It's not about Type->Solution relation. We've got constraint from
    Ticket
    to Solution. But we need to load Ticket to get it's Type.
    It's a problem to instantiate the Solution before loading Type. Thething
    is that Type object is used to construct Solution automatically adding
    it
    to
    internal collection.
    This is done to overcome JDO deficiency in relation maintenance. I'vefound
    this pattern in Robin Roos' book.
    create...() method usage makes sure that dependent object is added tothe
    parent after each creation. Adding objects manually after creation wouldbe
    error-prone and code-cluttering.
    Where's that "transparency" so much told about on JDOCentral?
    P.S. I wonder how this pattern works in other places?
    "Patrick Linskey" <[email protected]> wrote in message
    news:[email protected]...
    Alexey,
    In Kodo JDO 2.3 and 2.4, object changes are flushed to the database in
    the order that the objects are first enlisted in the transaction. So,
    if
    you instantiate the Solution object before loading Type, everything
    should work the way you want it to.
    We have more sophisticated foreign key constraint satisfaction code in
    internal codebases -- expect to see this hit production in the nextfew
    months.
    -Patrick
    Alexey Maslov wrote:
    Hello,
    I have three objects tied with certain relations: Ticket, Type and
    Solution.
    Relation between Ticket and Solution is unidirectional
    one-to-one -
    ticket
    may contain one solution. Relation between Type and Solution is
    one-to-many
    bi-directional.
    During transaction I do the following:
    1) instantiate new Solution and add it to the Type;
    2) set this Solution to the Ticket.
    On commit Kodo tries to update ticket before creating solution inthe
    database. What am I doing wrong?
    Thank you in advance.
    Best regards,
    Alexey Maslov
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Closing the program after printing

    Hello. I receive faxes via email, and it uses Reader to print them. I just right click and print directly from the email. However, Reader stay open and I have to go close it separately.
    Does anyone know of a way to set it to NOT stay open after printing? It's a pain to have to keep re-closing it!
    Thanks.

    Bernd, I just downloaded an update again this morning. I currently have Version 8.1.2
    Jill

Maybe you are looking for

  • Mac will not log in after time machine restore. Snow leopard

    I managed to delete 6000 photos by accident on my mac (it can be done), luckily iv kept up to date back ups with time machine, so I bottled off the snow leopard cd, followed utilities and did a system restore. Everything sempt to have worked well til

  • Print multiple PDFs from Windows Explorer causes Acrobat Pro 9.4 crash

    I sometimes need to create a batch of PDFs independently, after which it suits me to print them all as a single job. FYI I am running Acrobat Pro 9.4 under Windows 7 Ultimate 64bit. The sequence of the problem as follows: - With Acrobat closed, I go

  • Function 'function name' may not used in sql

    Hi Guys, How to call a function in a form level trigger? i created a function in program unit.In timer expired trigger i tried to call a function as select sf1('a') from dual;Im getting below error function sf1 may not use in sqlAdvance thanks

  • Field Level Authorization

    Hi Gurus, Can you explain me how to proceed forward inrelation to Field Level Authorizations in SAP HR. For instance I want to restrict roles of individuals based on Field for example restrict users based on Field Workschedule in IT 0007 ( Planned Wo

  • Making Preview default PDF View

    There maybe a simple answer to this question. I am slowly 'de-programming' my PC brain after my recent purchase of a MacBook but... I installed Adobe Reader and it automatically made itself default pdf reader - but I want Preview as Default PDF Reade