Run_report_object error in 6i, help!

hi,
original code used to run the report:
Run_Product(REPORTS, report_name, SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
changed to:      
repid := find_report_object('report_name');
set_report_object_property(repid,report_comm_mode,SYNCHRONOUS);
set_report_object_property(repid,report_execution_mode,RUNTIME);
     set_report_object_property(repid,report_desname,'NULL');
     set_report_object_property(repid,report_desformat,'HTML');
     set_report_object_property(repid,report_destype,'SCREEN');
v_rep := RUN_REPORT_OBJECT(repid,pl_id);
When I run the report, I get this message "Cannot find report: Invalid ID", followed by another message "argument 1 to built-in Run_report_object can not be null". Can anyone help me??

The Report Object you create in Forms Builder has no link yet to the actual rep file. In the Report Object properties you can set the filename, which is the name of the actual rep file you are going to run.
However, you can leave this property blank and specify it in your trigger. This way you can use the Report Object to run more than one rep file. In the next example I have created a Report Object test, and in the trigger I specify that I want to run rep file test1 (assuming it's in the reports60_path):
declare
  repid  report_object;
  v_rep  varchar2(100);
begin
  repid := find_report_object('test');
  set_report_object_property(repid,report_filename,'test1');
  set_report_object_property(repid,report_other,'dept_id=10');
  v_rep := RUN_REPORT_OBJECT(repid);
end;

Similar Messages

  • Photoshop Elements 8. "Could not use Clone Stamp Tool because of a program error."  Please help.

    Photoshop Elements 8.  "Could not use Clone Stamp Tool because of a program error."  Please help.

    Try this:
    Open your picture file
    Access the clone stamp tool
    Hold down the ALT key on the keyboard and left click on the area from which you wish to clone, then release the ALT key, and click to place the pixels at the destination
    TIPS:
    It is a good idea to open a blank layer at the top in the layers palette, and do the cloning on this layer. Be sure that "sample all layers" at the top is checked. You can change the layer opacity if necessary
    Use the bracket keys next to the letter p on the keyboard to increase & decrease the size of the cursor
    Let us know  how you make out with the error message now.

  • Error message "iTunes Helper Resources not available" and saving to wrong Drive

    I am trying to upgrade iTunes to 10.7 on my PC but I keep getting the error message "iTunes Helper Resources not available". Diagnostics take me a support page which talks about not being able to see the device in iTunes - but I can see the device without problems.
    I thought I would try reinstalling iTunes from the webpage and it downloaded to my PC fine but when I went to setup, it showed me it is saving to a DVD drive - not my Hard drive. It also won't let me change the location for the file. I have no idea how that's happened as I obviously don't use the DVD drive as a USB (although the PC see's it as one) and I've never chosen it as the location for iTunes in the 7-8 years that I've been using it.
    I then thought I'd try uninstalling it and reinstalling it (to the correct drive) but again, it comes up that the DVD drive is invalid and won't uninstall iTunes.
    So I'm stuck and haven't been able to find anything helpful on the support pages or in iTunes Help.
    Please someone help ...
    Thanks.

    Try the following user tip. (Probably, the section on clearing the installation database might be best given that you've currently got a drive on the problematic letter at the moment.)
    "Invalid drive X:\" install errors

  • My macbook pro is connected to internet via my time capsule but my iPad and iPhone won't. it shows wifi connection to the time capsule but when i go on to the internet on the iPad or iPhone, it comes up with network error. can anyone help?

    my macbook pro is connected to internet via my time capsule but my iPad and iPhone won't. it shows wifi connection to the time capsule but when i go on to the internet on the iPad or iPhone, it comes up with network error. can anyone help?

    This can be caused by a number of issues.
    Was everything working and then suddenly stopped??
    Or is this a new clean setup and has never worked.
    Do you have a cable modem which is not a router and the TC setup in bridge? That will cause it. The TC must be in router mode, ie dhcp and nat.
    Check the IP the MBP gets including dns and gateway..
    Then check the ipad/iphone.. post what IP dns and gateway (router in applespeak) they get.

  • My ipod touch 2g is on black screen.when i connect it to my pc it is not recognizing it.then i opened i tunes and put the phone in dfu mode it says an ipod is detected but it cannot be restored error 1600.plz help me...

    my ipod touch 2g is on black screen.when i connect it to my pc it is not recognizing it.then i opened i tunes and put the phone in dfu mode it says an ipod is detected but it cannot be restored error 1600.plz help me...

    Error 1604
    This error is often related to USB timing. Try changing USB ports, using a different dock connector to USB cable, and other available USB troubleshooting steps (troubleshooting USB connections. If you are using a dock, bypass it and connect directly to the white Apple USB dock connector cable. If the issue persists on a known-good computer, the device may need service.
    If the issue is not resolved by USB isolation troubleshooting, and another computer is not available, try these steps to resolve the issue:
    Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode,put it into Recovery Mode.
    Restore and wait for the error.
    When prompted, click OK.
    Close and reopen iTunes while the device remains connected.
    The device should now be recognized in Recovery Mode again.
    Try to restore again.
    If the steps above do not resolve the issue, try restoring using a known-good USB cable, computer, and network connection.
    Error 1600, 1601, 1602
    Follow the steps listed above for Error 1604. This error may also be resolved by disabling, deactivating, or uninstalling third-party security, antivirus, and firewall software. See steps in this article for details on troubleshooting security software.

  • New to lightroom, used program last wk no problem, now unable to import any nef or jpegs, keeps showing error message, need help =(

    new to lightroom, used program last wk no problem, now unable to import any nef or jpegs, keeps showing error message, need help =(

    So where is LR trying to copy the files?  Check your destination in the Import panel at the right.

  • Certificate Related Error Message/Please Help

    Today I received an "Unable to verify SSL server pop.gmail.com" message on my Mail server. I transfer mail from gmail to Mail.
    "Mail was unable to verify the identity of this server, which has a certificate issued to "pop.gmail.com". The error was:
    The certificate for this server has expired.
    You might be connecting to a computer that is pretending to be "pop.gmail.com", and putting your confidential information at risk. Would you like to continue anyway?"
    In the lower box, it lists the Version, Serial Number, Issuer Name (which is from Zaire, Western Cape, and lists the organization as Thawte Consulting cc and other info, Subject name is Google Inc, common name is pop.gmail.com, then gives a Signature Algorithm, Parameters, etc.
    It won't let me Copy and Paste so I have not hit the Continue button for concern of losing that info for reference.
    I went to Help which instructed me to do the following:
    I'm getting a certificate-related error message
    If you get an error message with the word "certificate" in it, make a copy of the message and contact your Internet service provider (ISP) or network administrator. The error message may help them diagnose your problem.
    If your mail server uses a self-signed Secure Sockets Layer (SSL) certificate, each time you open Mail you'll see an error message stating that the certificate is not valid. You can continue, but you'll see the same message every time you open Mail. To stop seeing this message, you can permanently accept the certificate.
    To permanently accept a self-signed SSL certificate:
    Click the Show Certificate button in the error message.
    The certificate appears with a certificate icon in the upper-left corner.
    Hold down the Option key and drag the certificate icon to the desktop.
    Double-click the certificate icon on the desktop, and choose X.509 Anchors from the pop-up menu. Click Add.
    The certificate is permanently accepted.
    You must have permission to administer the computer for this procedure to work.
    For information about encryption, click "Tell me more."
    Instead of asking for the "580 Anchors" , it asked simply "Do you want to add the certificates from pop.gmail.com.cer to a keychain?"
    I clicked "Add"
    The pop.gmail.com certificate AND Thawte Freemail Member AND Thawte Personal Freemail certificates is now entered in my Keychain.
    There are no dates listed under "Created" or "Modified" for those certs under Keychain.
    IS THIS OK OR DO I HAVE A PROBLEM SINCE THESE THAWTE CERTS ARE LOCATED IN ZAIRE???
    IF IT IS A PROBLEM, HOW DO I FIX/CHANGE/OK/DELETE/MODIFY, ETC. IT? PLEASE BE CLEAR.
    CAN I/SHOULD I JUST DELETE ALL THREE/SOME OF THE CERTS NOW IN KEYCHAIN?
    WILL I STILL BE ABLE TO GET MAIL AS BEFORE THIS MESSAGE IF DELETE THE CERTS?
    I believe this is the first time I have received a message concerning certificates so I am naive concerning this.
    THANK YOU.

    I had similar gmail/cert problem yesterday - not for the first time!
    I deleted the prefs (user/library/preferences), deleted the gmail account (mail prefernces), ran applejack ( http://applejack.sourceforge.net/ ) & added the account from scratch.
    Annoying I know, and my inbox was 200+ emails but nobody seems to know what or why this happens (my previous post) http://discussions.apple.com/thread.jspa?threadID=243186&tstart=0
    Perhaps this is related to certain emails (an email scam), i run 3 macs & the mail account on the affected machine receives my business email & this is the only machine the gmail/cert problem occurs.

  • It says "error 7, windows error 127" Please help

    It says "error 7, windows error 127" Please help

    I tried that, got this error:
    An error occured during the installation of assembly "Microsoft.VC80.CRT.type="win32".version="8.0.50.727.6195".publicKeyToken="1fc8 b3b9a1e18e3b".processorArchitecture="x86". Please refer to help and Support for more information. HRESULT: 0x8007422.
    Please help!

  • After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    After downloading the mac os x 10.6.8 I can't open safari. It first told me that I could not run it with Safari 5.1 so I downloaded safari 6 because I had read that that would solve the problem. However I am still getting an error message. HELP!!

    I see this on Apple's support page:
    Available for: OS X Lion v10.7.5, OS X Lion Server v10.7.5, OS X Mountain Lion v10.8 and v10.8.1

  • Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?

    Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?

    Read this
    http://support.apple.com/kb/ts1583

  • Can't install Adobe Flash player ERROR. Please help

    I tried to download the update of Adobe Flash Player BUT every time I try to download it... Look at the screen shot. ERROR.
    Please help me I am really happy if someone here can help me.

    Hello,
    The log file indicates there are permissions issues on a couple of files and they are not being removed.  This is preventing the installation of the new version.  Please run the uninstaller, posted here Uninstall Flash Player | Windows, and post an updated FlashInstall.log file, and a screenshot of the files remaining in the /Macromed/Flash directory after running the uninstaller.  Please only run the uninstaller and do not attempt to re-install at this time.
    Thank you.
    Maria

  • HT204406 hi!!!! I keep getting an "error" when trying to activate my iTunes match. I get to the 1st step, then it gets stopped, and I get the error message. HELP!!!!!!

    hi!!!! I keep getting an "error" when trying to activate my iTunes match. I get to the 1st step, then it gets stopped, and I get the error message. HELP!!!!!!

    That's definitely enough to start.
    It sure seems like it should work...and then I saw that you're using a router. It could very well be that the router is the weak link here.
    Instead connecting to your network router, try using a direct USB connection from your MBP. If that doesn't work, you read this post, which may be relevant to your problem:
    http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/Scanning-from-Mac-10-7-fa ils-after-all-recommendations-Not-ready/td-p/1287003
    It seems you're up to date with software. Post with your results.

  • After the IOS7 update, i can no longer use my imessage and facetime. It says "waiting for activation" and tried to log in on my apple id but it turned out to connection error. Please help me guys! Thank you.

    After the IOS7 update, i can no longer use my imessage and facetime. It says "waiting for activation" and tried to log in on my apple id but it turned out to connection error. Please help me guys! Thank you.

    Have you tried to reboot your phone(hold home and lock button simutainiously)?

  • TS3212 im trying to reinstall but will not allow, due to an error 7,  itunes helper not installed correctly,i have tried several times, but will not allow me to install, i have used itunes for years but now cant use it, can you help

    i have tried to reinstall itunes because it is saying i cant use my itunes due to an error 7, itunes helper not installed correctly, please reinstall, i have tried several times but still not allowing me to use, ive never had this problem before in all the years i have used itunes, i have gone through all the troubleshooting but still no access, can you help

    Many thanks.
    That suggests that another application has stashed old QuickTime componentry in your system files.
    So just in case we'll go looking for older QuickTime componentry in the most common locations for it to be stashed.
    First we'll need to change some view settings.
    In your Start menu, open Computer.
    In your Organise menu, select Folder Options.
    In the View tab, make sure that "Show hidden files and folders" is selected, and Hide extensions for known file types is unchecked.
    Click OK.
    Now in Computer, open your C:\ drive (or whichever drive you have your operating system installed on).
    Open the "Windows" folder.
    If you have a 32-bit version of Windows, open the "System32" folder.
    If you have a 64-bit version of Windows, open the "SysWOW64" folder.
    What files and folders can you see in there with QuickTime in the title? (In a standard installation of Quicktime you should be seeing precisely two files... QuickTime.qts and QuickTimeVR.qtx ... and no QuickTime folders whatsoever.)

  • How received the following error message:  iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 998).  I did what was requested and reinstalled iTunes, but still get this error message.  Help!

    My Toshiba laptop just recently started showing the the following error message when I try to open iTunes: " iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 998)".  I did what was requested and reinstalled iTunes, but still get this error message.  Help!

    b noir I never got any message about an entry point
    Many thanks. If we're looking at a "naked" Error 7, I'd start with box two in the following user tip:
    Troubleshooting issues with iTunes for Windows updates

Maybe you are looking for

  • Error while implementing a web service in web dynpro application

    HI All, I am trying to use a webservice in a web dynpro application. Web service description:- This is a very simple application which takes two String inputs and when submitted displays the string in the concatenated form. Web dynpro:- I used this w

  • MacBook Retina shuts down after a few seconds after every boot

    Hi there My retina macbook keeps shutting down after booting and rebooting by its own a minute later. No error message is displayed or anything like it, it just magically shuts down. It had been working fine until now but it seems to be going crazy f

  • New Laptop, clean start, except iTunes librarys, what news for iPhone?!

    Hi, I have a new MacBook Pro coming my way (very excited) a nice upgrade from my 3YO work horse iBook! So, i want to start again, with regards to a 'clean' install. But i want to keep a couple of things like iPhoto and iTunes libraries. A couple of q

  • Another 10.9.2 printer issue

    I've seen others with similar problems, but, unlike some of the others, I'm unable to find a solution. I recently updated my iMac to 10.9.2. Now, it no longer detects a Brother printer model 1240 connected via USB -- a setup that had worked dependabl

  • How to register a schema use a .xsd file which has lots of includes schema

    Hello, All, Does someone have the experience to register a schema use a .xsd file which contains several tags like <xs:include schemaLocation="../dt/somedatatypes.xsd"/>? I tried both the OEM and command line dbms_xmlschema.registerSchema(), although