the display of report but without registration

Hi all

I use 10g Release 2. report display in PDF format, but
without records.is there anything wrong in web.show_document?
declare
     rep report_object;
     vcJobid varchar2(100);
     vcURL varchar2(100);
     pl_id paramlist;
ipaddress      report_server_name.V_IP%TYPE;
     vc_server    report_server_name.server_name%type;
     report_path_name report_server_name.report_path%type;
     PORT_NO           report_server_name.port%type;
begin
select server_name,report_path,v_ip,port into vc_server,report_path_name,ipaddress,port_no from report_server_name;
     pl_id := get_parameter_list('temp');
     if not id_null(pl_id) then
          destroy_parameter_list(pl_id);
     end if;
     pl_id := create_parameter_list('temp');
     Add_parameter(pl_id,'p_num',text_parameter,to_char(:block.num));
  Add_parameter(pl_id, 'PARAMFORM', TEXT_parameter, 'NO');
  rep := Find_Report_object('REPORT6');
 SET_REPORT_OBJECT_PROPERTY(REP,REPORT_FILENAME,report_path_name);
    SET_REPORT_OBJECT_PROPERTY(rep,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(REP,REPORT_SERVER,vc_server);
SET_REPORT_OBJECT_PROPERTY(rep,REPORT_DESFORMAT,'PDF');
--SET_REPORT_OBJECT_PROPERTY(REP,REPORT_OTHER,
VCJOBID := RUN_REPORT_OBJECT(REP);
VCJOBID := SUBSTR(VCJOBID,LENGTH(VC_SERVER) +2,LENGTH(VCJOBID));
VCURL := 'http://'||ipaddress||':'||port_no||'/reports/rwservlet/getjobid' || VCJOBID || '?server='||VC_SERVER;
WEB.SHOW_DOCUMENT(VCURL,'_blank');

END;

Hello

now try...

DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
plid ParamList;
 ipaddress      report_server_name.V_IP%TYPE;
      PORT_NO           report_server_name.port%type;
      vc_server    report_server_name.server_name%type;
      report_path_name report_server_name.report_path%type;
BEGIN
     select v_ip,port,server_name,report_path into ipaddress,port_no,vc_server,report_path_name from report_server_name;

plid := Get_parameter_List('tmp'); 

IF NOT Id_Null(plid) THEN
Destroy_parameter_List( plid );
END IF;
plid := Create_parameter_List('tmp');
Add_parameter(plid,'p_num',text_parameter,to_char(:Block.num));

Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');

repid := FIND_REPORT_OBJECT('REPORT6');
 SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_FILENAME,report_path_name);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_EXECUTION_MODE,RUNTIME);
SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_DESNAME,'report_name');--enter your report name.
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
SET_APPLICATION_PROPERTY(CURSOR_STYLE,'NORMAL');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
--SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_OTHER,'P_NUM='||TO_CHAR(:Block.NUM));

v_rep := RUN_REPORT_OBJECT(repid,plid);
rep_status := REPORT_OBJECT_STATUS(v_rep); 

WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP; 

WEB.SHOW_DOCUMENT('http://'||ipaddress||':'||port_no||'/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||vc_server||'¶mform=no','_BLANK'); 

END;

hope this helps you...

Sarah

Tags: Oracle Development

Similar Questions

  • How to turn off the display after a while without input

    Original title:

    Activate the screensaver mode full-screen.

    Hello

    Windows by default is to disable the screesaver mode when an application runs in fulscreen. I need to enable it. I need to turn off the display after a while without input. So is it possible to do?

    Hello

    Thanks for choosing Microsoft Community to post your question. Windows 7 comes with the power settings using which, you can turn off the display when it is idle for some time.

    Please visit the following links and set the option to turn off the display according to your requirement.

    Sleep and extended: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/sleep-and-hibernation-frequently-asked-questions

    Power management

    http://Windows.Microsoft.com/en-us/Windows7/products/features/power-management

    Hope that the information provided is useful. Do not respond if you need more help.

  • Printerwill not print elements in Quebec printing copy elements. Will display the wireless test report, but I use USB connection

    (HP 4580) does not print what items.  It will be printed "(scan and copy) and wireless test report, but I we USB connection to"

    My Compaq Presario CQ 60-41OUS Notebook PC.  Just reinstalled the printer pogram/driver.  He hhas worked OK for 2 years.

    Al to * address email is removed from the privacy *

    And the answer to your message of 15 does not solve the problem?

  • Single request for the display of all, but the values of 1 column for all tables

    Hello

    All tables have the column SYS_CREATION_DATE.
    But I don't want to not display the value of this column

    Can anyone suggest a way in which I could achieve this?

    Oracle version: 11 GR 1 material
    OS: SunOS


    See you soon,.
    Malika

    Published by: user9131570 on July 6, 2010 19:57

    user9131570 wrote:
    @Tubby

    I * table-wise display the values of all but 1 columns (SYS_CREATION_DATE) in my database.*

    I need it to compare to another data base for all these values.

    I would like to make a wild guess at what you are getting.

    In view of these two tables

    create table emp
       (empid number,
        empname varchar2(15),
        empaddr   varchar2(15),
        sys_creation_date date);
    --
    create table dept
       (deptid number,
        deptmgr varchar2(10),
        sys_creation_date date);
    

    you want to combine somehow

    select empid,
             empname,
             empaddr
    from emp;
    

    with

    select deptid,
             deptmgr
    from dept;
    

    in a single sql statement?

  • No noise - volume control appears, the speakers are connected, but without audio

    My computer has recently undergone several virus attacks, which I was able to resolve after a lot of enslavement. However, now I find out that my computer has no audio. Occasionally, when I'm trying to be able to control the volume, it is said that there is no installed audio mixers. Currently, it opens the volume control but does not play any audio during the test. I have a Dell XPS 410 desktop computer.

    * Update *.
    Ran the Microsoft Fix It program for playing audio and received this error message:
    "Troubleshooting cannot continue because an error has occurred. We're sorry, but the program encountered a runtime error. Please try again later. [Code 80070005] »

    Hello

    If I understand correctly that you are unable to hear the sound, train your Windows XP-based computer, and you are away from your computer's Volume control option. In addition, you tried to solve he problem by running a fix it software are Microsoft and received an error code 80070005. I reason?

    The possible reasons for the question may be a corrupted driver or audio software.

    Please provide the following information for a better understanding of the issue.

    1. is the specific question of the sound form a specific program?

    2 what was the recent change of hardware or software tempted right computer before the show?

    Lets start troubleshooting, the drivers installed and move forward.

    Method 1

    Step 1

    No sound in Windows

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    Step 2

    Download and install the drivers from the Dell website

    http://www.Dell.com/support/drivers/us/en/19/product/XPS-410

    See also,

    How to troubleshoot sound problems in Windows XP

    http://support.Microsoft.com/kb/307918/en-GB

    To display the volume control icon in the notification area

     

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/soundscpl_common_tasks.mspx?mfr=true

    Hope this helps

  • How to perform several steps and the display of charts/indicators without repeating the same code for each entry (of the dozens of entries)?

    I have to repeat the same steps and display in the Panel before (graphic fft and other indicators).

    Do I need to repeat the same code for each entry/channel? I already have too many channels and whenever I change a measure (and code) for an input/channel, I have to repeat the changes to all the other entries.

    Thank you


  • The name of the file as IPTC, but without the extension. (Currently using script of dam)

    Hello

    My apologies if this isn't the right forum to ask this question:

    I am currently using the name of the script file of title with CS4 Bridge - DAM http://www.damuseful.com/pages/PimpMyBridge.html - to get the name of the file in the IPTC title script. This however in the extension in the title field also puts. A JPG file named 2000 ends with 2000.JPG upward in the title field. I would like to not have the extension appear in the title field.

    Is it possible by modifying the script DAM / using any other script available for free.

    In case it helps, that's what the dam script currently looks:

    #target bridge

    If (BridgeTalk.appName = 'bridge')

    //-----------------------------------------------------------------------

    This script copies the file names of the thumbnails selected in the title field

    Also shows how to add menu items

    AdobeLibrary scripts should be loaded

    This script was created by John Beardsworth www.beardsworth.co.uk/ and modified by Peter Krogh www.DAMuseful.com

    This script can be freely distributed and modified

    //--------------------------------------------------------------------

    We will create our menu

    var menu = MenuElement.create ("command", "write to IPTC title field Filename', 'at the end of the tools');

    menu.onSelect = function (m)

    {

    var getFolderChildren = true;

    var filesOnly = true;

    var inches = getBridgeThumbnails (TYPES. PHOTOSHOP_OPENABLE, getFolderChildren, filesOnly);

    for (var i = 0; i < thumbs.length; i ++)

    {inch = inches [i];}

    MD = thumb.synchronousMetadata;

    ' md.namespace = ' http://ns.Adobe.com/Photoshop/1.0/ ";

    MD. title = thumb.name;

    }

    Window.Alert ("Done" + i + "records");

    };

    There are also 3 other Adobe library scripts that come with the download.

    I don't know anything about scripting, baby-steps would be appreciated.

    Thank you very much.

    Change:

    md.Title = thumb.name;
    

    TO:

    md.Title = decodeURI(thumb.name).replace(/\.[^\.]+$/, '');
    
  • Try to activate Vista's problem reports, but get the message "Windows incident reports are disabled." and some settings are managed by your system administrator

    Original title: trying to activate the Vist problem reports, but get message "Windows problem reports are disabled."

    "Windows problem report is disabled." I can't activate the problem reports and Solutions on my Windows Vista computer.  When I click on "Change settings", I would be prompted with the following message if poster "some settings are managed by your system administrator."  It's personal PC at home.  I don't know how to activate it.  I already went to political group & register to adjust some settings.  But still unable to activate this.

    All settings are disabled as this.

    This problem only recently.

    Method 1

    System Restore does not work.

    Method 2

    Disable the antivirus software does not work.

    But after some research, I realized that the problem could be due to a recent installation of a PC anti-frustration software called Soluto (the star was "Activate Crash Handler Soluto").  It worked after that.  After uninstalling, I rebooted the PC system.  After the reboot, I checked the reports on the problems and Solutions and found I could now adjust advanced settings.  I have also reinstalled the software, Soluto and ensured that this time, "activate Crash Handler Soluto" not was not checked (i.e. enabled).

  • Interactive reports: how to change the display mode (details, group by, chart, pivot) programmatically?

    Hi guys,.

    is it possible to control the display mode of the interactive reports, i.e. display icon, list, view detail, group by, chart, pivot?

    Produkte.png

    As I understand the current setting is stored as a preference of the user for each user... and again when his connection. A settings of the rules them all (all the stored report parameters).

    The display mode switchable using a javascript, the api package apex_ir or via a link?

    Thank you
    ~ Dietmar.

    Hi Dietmar,

    It is not a supported way to change the display interactive report mode.  With the device connected by Anthony internally, we will consider adding this because part of apex_ir or a link to the future.

    Kind regards

    Christina

  • 7520 photosmart e-all-in-one: suite reinstall printer a few APPS are missing from the display

    Had to reinstall the printer after a total recovery of the PC. Now the screen of the printer of the APPs is different and now includes new but it I MISS what I used to use that (as I recall) is an application that opens a screen to set up a print job:

    NEW:

    "Scan to E-mail".

    "Get more" with an arrow pointing down, which does NOT respond to touch

    'Manage '.

    When I want to PRINT just something selections are ONLY BASIC paper without advanced formats.

    I tried the "reset default" for the display/apps/printer but nothng has changed.

    Well, I did that several times... total uninstall... total disconnect the router... AC... printer.  I'm rather informed with all this stuff, but the display remained the same when the reinstalled.

    HOWEVER... If I go in WORD I CAN run away with all the advanced options and that's all I'm really worried at the moment. So the books will print and time!

    Thanks a LOT for trying to help me through the glitch, and is for me a problem more as long as I can function in WORD where it counts the most.

  • Displaying paths for user without such "accounts / / 1000/removable.

    I want to display a path to a file on the user's screen but without the ' / accounts/1000/removable / "or" / 1000 accounts, shared / "just the exodus" sdcard/photos /...» «or "camera /...» "parties. Is there a simple function that can be fed these Qt that will analyze what I want out of here?

    Peter is correct, there is nothing like that. This is the actual path. This isn't like Windows, where everything is based on the drive letter for the physical medium that they are on.

    You could log a feature request we SAID things that point to shared and sdcard all the time: SAID

    But for now, you should play with QDir QUrl or use some manipulation of string/regex.

  • On Satellite M40-223 some games make the display freeze

    Hello
    I have a Satellite M40-223 with an Ati Radeon X 600 is.
    Some games (such as shockwave, world of warcraft games or never)
    Winter Nights 2) make freeze display and the crash of the laptop
    (accidents do happen after the same amount). I downloaded the drivers
    on the toshiba site (16/11/05, 6.14.10.6534 drivers) and nothing has
    has changed. Then I downloaded the latest drivers from the ati site
    (http://ati.amd.com/online/mobilecatalyst/) and removed the older
    (following the instructions of ati). The display freezes always but
    Sometimes the VPU recover the previous session.
    What should I do?
    I will try to uninstall these drivers and install the ones toshiba
    Once again? When I installed the drivers from toshiba for the first
    I did use uninstaller first, time could this affect the most recent configuration?

    I will try to use the omega drivers?

    Best regards

    Laura

    Hello

    It s not advised not to use the graphics driver from Toshiba. The other drivers don't support the overheating protection. The games are a high performance programs. If these applications are running on the laptop all devices must operate with maximum performance and produce a lot of heat. The high temperature could be responsible for this gel and close downs.

    I read in the forum that you can install the other drivers (not Toshiba) at your own risk.
    I think you should check the fans for dust and debris.
    Sometimes the cooling modules may not cool properly because the dust and, therefore, these problems occur.
    Additional do not forget that there is enough free space around the laptop to the airflow correctly

  • The display is on the side.

    After that my computer froze recently, when he finally returned, the display was completely on the side.  Fortunately, I have a separate keyboard because I set the computer on the desk as an open book on the end to see properly.  How can I get it back.  When the computer part comes first the display is correct, but as soon as he gets to the part of windows, even the sign, it is wobbly.  I don't know what to go in order to go back to the way it was.

    Hold down the CTRL and ALT keys, press the left arrow or right arrow to rotate the screen. Boulder computer Maven
    Most Microsoft Valuable Professional

  • problem with the display driver

    I am running windows 7 final flashes the screen becomes black and turns on with a message at the bottom right indicating that the display driver failed but has recovered successfully, but he says it's the graphics driver for windows vista how to fix this? also when going through we found that the driver for the wifi card driver is not fully installed as well as a few other drivers, is it possible to install these drivers in working condition?

    Moved Windows 7 installation, set at level and activate Forum.

    Hello

    You get the right drivers is the pre-installed operating system, the hardware if manufacturer or by the manufacturer of your computer/laptop if you yourself the computer built or changed the graphics card, etc.

    You go to computer/laptop or the Web site of the manufacturer 3rd party material > look for a Support/Drivers Download section > put in your computer or hardware part model number, depending on whether it's the computer or the hardware manufacturer's Web site > search your operating system > then find Windows 7 drivers (Audio, graphic, network adapter, drivers etc.) > download and install.

    You don't say what version of 'bit' of Windows 7 you have 32-bit or 64-bit.

    Choose the correct version of 'bit' for these drivers.

    See you soon.

  • How to set the DISPLAY variable to run admsi.pl?

    Dear Experts,

    I'm trying to patch Oracle apps R12 using admsi.pl.

    HostName: black
    DB APPS: SCREWS

    But I get the error message:
    Please set the DISPLAY variable and re-run this script

    ----------

    That's what I did:

    Listener and database LIVE are already running.

    connect the server on linux as a unix user: applmgr

    / oapps/applmgr/SCREWS/apps/apps_st/appl CD.
    . APPSVIS_black.env

    CD /oapps/applmgr/VIS/apps/apps_st/appl/ad/12.0.0/bin/
    admsi.pl
    Invoking Oracle Patch Application Wizard...
    Please set the DISPLAY variable and re-run this script


    -----


    huh?


    --------

    the value | grep-i 'display '.
    DISPLAY =: 0.0


    the value | WC
    435 486 25235

    -----

    I noticed that there are 36 .env files!
    For single applmgr!

    find/oapps/applmgr /-type f-name '*.env ' | WC
    2626 36 36


    For oracle, there is another 7 .env files!
    find/oapps/oracle /-type f-name '*.env ' | WC
    7 7 513


    I received the file of environment (env) correct?
    Or I need to first run a few more EPS?
    If so, which?
    What would be the order of operations?


    ----------

    sqldeveloper gave me problems with the display sometimes.
    But same sqldeveloper works very well.

    ----------

    What is the secret to get admsi.pl to run according to the normal procedure?


    Thank you very much!

    Please see this thread - error when running admsi.pl

    Thank you
    Hussein

Maybe you are looking for