problem with showing the report forms

Hello
Today, I have another problem :)

I fix this text and it's simpler

I have run reports of froms and I use RUN_REPORTS_OBJECT_PROC

If I use standard report_id in this procedure, then I get

WEB. SHOW_DOCUMENT ('http://oracle:8889 /'| reports_servlet |) ' /getjobid' | vjob_id |'? Server =' | report_server_name, "_blank");

If the report is not any parameter is ok and this work but if I put some then I get page with witch element, I set value (parameter witch I want) then when I put send query I get error REP-50134

But
If I use
WEB. SHOW_DOCUMENT ('http://oracle:8889 /'| reports_servlet |'? server = raportserv & report=c%3A\raporty\mod.jsp & destype = CACHE & desformat = HTMLCSS & userid = SCOTT % 2FTIGER % 40SZD & paramform = "Yes);

I can open reports with the setting or not :)
Where is the error in how hidden values see report_object?

concerning

Published by: user515960 on 2010-07-06 08:00

Hello

If you want to use parameters, then you need to create the report with parameters and your query owes me something like that.
example: -.

select ename,empno,sal.....from emp
where empno=:p_no.............so here :p_no is parameter.now how you will use this in form with that code which is provide you in u r previos thread.

something like that.

DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
plid ParamList;
vParamValue number;
BEGIN

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_no',text_parameter,to_char(:emp.empno));---------------here you have to add your block name and item name and also we add parameter(P_no) which is created in report builder with the above query.

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

repid := FIND_REPORT_OBJECT('REPORT6');-----------------when you create report by using report nodes in form builder so you hav to Presss F4 to go to Property and there you have to set the report server name,desformat which is PDF and report name which is Report6 and also there in property u have to give the report path.
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);

SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');

SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');

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; 

/*Display report in the browser*/
WEB.SHOW_DOCUMENT('http://computer name/IP:8889/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
'||'server=report_server_name' || '¶mform=no','_blank'); 

END;

Note:-you need to start the report server before displaying the report.

Tags: Oracle Development

Similar Questions

  • Problems with downloading the reports BI to Excel in Office 2007

    Hello
    I created reports using the plugin BI Publisher for Word 2007 and deployed through the Apex. Users with Office 2003 is installed get download the file without any compatibility issues. These users on Office 2007 get a warning as follows:

    'The file you are trying to open.' filename.xls, is in a different format than specified by the file extension. Check that the file is not corrupted and precedes from a trusted source before you open the file. Do you want to open it now? "

    The file will open and save, it's all just annoying to get this message every time. There are no problems when downloading the report to other formats.

    It is a known problem... It is a "Fix" of Microsoft, to ensure that people know that the file is NOT a style true Blue XLS file... My office just to go through it and it is adjustable, but involves a registry setting that they do NOT HAVE want to impliment...

    Please see the attached url:

    http://Stephen.paytonplace.us/archives/74

    Thank you

    Tony Miller
    Webster, TX

  • As a plug-in?  I have problems with an editable IRS form.   It gives me "Access denied" and then opens the file as an editable file.  I was able to open the form in the library.

    As a plug-in?  I have problems with an editable IRS form.   It gives me "Access denied" and then opens the file as an editable file.  I was able to open the form in the library.

    I found a few other questions on this forum who have remained unanswered.   I found a site citing the problem for drive X - I use XI.

    Change to drive XI.   Perhaps the reader at the library had this as its default setting.

    1. In Adobe Reader, clear the check box enable the Mode protected at startup :

      • If you have a PDF open, right-click the document, and then click Page Display Preferences.
      • If you open Adobe Reader from the shortcut, click on Edit > Preferences.
    2. In the categories dialog box Preferences pane, click (enhanced) protection, and then clear the box enable the Mode protected at startup .
    3. Close and reopen Reader.

    I have no idea if that setting has been changed in my XI player since I used this version exactly one year ago.

  • Problem with Top SQLs report

    Hello

    I have a big problem with Top SQLs reports, when I generate a report of high SQLs, SQL, the value text is not end, I know that there is a "The SQL text size" setting on the properties of the agent (this configuration is also on the collections setting ' Ta maximum size in characters of the short collects text of the SQL statement is ") on the two options , I've incremented the value of 256 (default) 1500, but when I generate the Top SQLs postpones continue it problem, once the changes I restarted the agent but the problem persists, I generate the report on the different formats, but result is the same, could you help me please.

    Thank you.

    Best regards.

    I see this in support KB article https://support.software.dell.com/kb/109536

    "

    • Title

      SQL in DB2 Top instructions are truncated in the delivered report of Top SQL

    • Description

      SQL in DB2 Top instructions are truncated in the delivered report of Top SQL

    • Resolution

    • Resolution A DDB-3673 request improvement with Support software Dell to show the full text of SQL high in the report Top SQL for DB2.

      Workaround At this point you should be able to make a custom report by cloning the Top SQL existing and then customizing report. »

    I know that this is not the solution, more of an explanation and guidance on how to solve this problem by using customizations.

    Golan

  • Problem with uninstalling the Toshiba Bluetooth Stack for Windows

    Guys, I have a problem with uninstalling the Toshiba Bluetooth Stack for Windows v4.00.22 on my laptop Windows XP SP2. Whenever I choose to remove the "battery Bluetooth for Windows by Toshiba" (or "Bluetooth HID Switch Service") the installation program starts to prepare, but crashes after a few minutes - the only way to continue is to turn off the laptop.

    The same thing happens when I try to update the stack to the latest version - the installer says that the old battery has to be removed first and crashes after trying to remove it. So is it possible to remove it by hand? I really don't want to reinstall Windows!

    I don't have a copy of the original Software v4.00.22 to recharge so if you have a copy or know where I can get a copy I would gratefully

    Thanks in advance.

    I would try to delete the folder: "C:\Program Files Toshiba Stack.
    Registry settings will remain, but should be repaired after a new installation of the Bluetooth stack.

  • Problem with finding the SmartGlass an Xbox to Store or App Store

    Original title: xbox a smartglass

    I can't find that the smartglass an Xbox on the windows store or the appstore please help

    Hi Ibrahim.

    Please contact Microsoft Community. I understand that you have a problem with finding the SmartGlass an Xbox to Store or App Store. I will surely you help with this.

    You can download Xbox a SmartGlass from the following Windows store link.

    http://apps.Microsoft.com/Windows/en-us/app/Xbox-one-SmartGlass/c3a46cb8-e733-4579-B716-862e123fa831

    For more information you can check the link.

    http://support.Xbox.com/en-us/Xbox-360/apps/SmartGlass-Info

    Hope this information helps. If you need more assistance or information on this question, reply to this message. I'll be happy to help you.

  • Problem with installing the game "no apps are installed to open this type of link try find at the store.

    Original title: problem with installing the game

    install a game but saying o\s

    No apps are installed to open this type of link try find in the store and when I opened store it for the app its available nt tried compatibility troubleshooting but no use it please help

    Hi harsh,

    For a better understanding of the issue, I would need more information on your side.

    1. What is the name of the game you install?

    2. where did you install the game from?

    3. What is the full error message?

    4. the question facing you while opening the store Windows or you are looking for an app? Have what compatibility troubleshooting steps you tried?

    To resolve the problem with applications, I suggest you try the procedure described in the article and see if it helps.

    Solve problems with a soft

    Please provide the necessary information to help you further, I'll be happy to help you.

  • Facing a problem with writing the custom for WLS identity assertion provider

    I am facing a problem with writing the custom for WLS identity assertion provider.

    Requirement:

    Asserter identity configured in WLS should get called when the following cookie is sent in a request by my application
    cookie name: OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I added the name of the cookie as a token of support and Active token in WeblogicCustomIdentityAsserter.xml

    < MBeanAttribute
    Name = "SupportedTypes.
    Type = "java.lang.String [].
    Writeable = "false".
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >
    <!-ActiveTypes attribute contains the subset of your mbean SupportedTypes who are active in the area. ->
    < MBeanAttribute
    Name = "ActiveTypes".
    Type = "java.lang.String [].
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >

    Problem:

    Identity asserter provider is not invoked for the request that has the cookie named OAMAuthnCookie_blr1234567.idc.oracle.com:7777.

    I did some experiments with the cookie name, to see where the problem could be

    Identity asserter provider is triggered for the following cookies:
    OAMAuthnCookie_blr1234567.idc.oracle.com7777.
    blr1234567. IDC. Oracle
    blr12_XXX. IDC. Oracle.com

    and it does not work for cookie name - OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I think that the name of the token supports not the colon. I don't have control over the name of the cookie, two points will always be

    Tried it with giving the name of the cookie after the encoding of the colon

    < MBeanAttribute

    Name = "SupportedTypes.

    Type = "java.lang.String [].

    Writeable = "false".

    Default = "new String() {& quot; OAMAuthnCookie_blr2211441.idc.oracle.com & #58;. 7777 & quot ;} »

    / >


    But still does not work
    Am I missing something? Any help will be appreciated.
    Help, please!

    colon ': ' is an illegal character in the name of the cookie.

    RFC 2616, Section 2.2 says:

    token = 1 *.

    separators = "(" | ")" | " <" |="" "="">" | " @"

    | "," | ";" | ":" | " \" |<">

    | "/" | "[" | "]" | "?" | "="

    | "{" | "}" | SP | HT

    It is clear ":" a "separator" and thus not allowed in a token or a cookie name.

  • I have problems with downloading the Lightroom app! What is the location of the appropriate installation?

    I have problems with downloading the Lightroom app! I have already many programs Adobe works on my PC and I have a cloud of Adobe license. But now, with the installation of Lightroom, I get the following error:

    Exit code: 7

    Please see specific errors below for troubleshooting. For example, ERROR: DF014...

    -------------------------------------- Summary --------------------------------------

    -0 fatal Error (s), 1 Error (s)

    -Payload: Adobe Lightroom 6.0.0.0 {8048A5DF-8A70-5BE1-954B-E0FDE1BD0D0D}.

    ERROR: DF014: unable to create the symbolic link to ' \\XC-DC-01\Users\Patricia\... \Desktop\Adobe Lightroom.lnk "(Seq 6641).

    When I go to the solution, then it says: rerun the installation. Select a different installation location.


    But I tried to select all the other folders on my computer for the last two weeks and it still not working? Update other programs is not a problem, then I don't understand what goes wrong? What is the location of the appropriate installation? Why it changed on my computer?

    Can you help me with a solution? Thank you!

    Hello

    Please see Exit Code 7 Installing and errors ' Exit Code: 6 "," Exit Code: 7 "|"» CC, CS6, CS5.5

    Hope that helps!

    Kind regards

    Sheena

  • Problem with editing the content in the administration Console

    Hi I have problems with editing the my site published in the administration Console.

    Everything what top an embeded google map works fine, but everything below is not clickeble/editable.

    Someone else has this problem, and you have any ideas on how to solve the TI?

    Hello

    Will you please try to remove the code embed to Google Map and then check, because it seems that the code used is in conflict.

    Also test with the Google Map widget in the social widgets.

    Thank you

    Sanjit

  • Problem with REPLACING the clause in Sybase

    I am facing a problem with REPLACING the clause in embedded SQL with a Sybase database.

    My Cold Fusion Server is MX 7.

    The database is the Adaptive Enterprise/12.5.0.3/EBF 10689 IR/P/Sun_svr4/OS Server 5.8/rel12503/1915/64-bit/FBO/Thu 23 Jan 16:05:19 2003

    That is the problem. I have a variable bureau_incode of Cold Fusion, which I use to set the values in my IN clause. When I comment on my request and display this value in the HTML page, bureau_incode has the following value:

    ('TAB', 'OGC', 'BIG', 'OLA', "MDG", "SEO", "OSP", "ANOTHER OWD ',' ', 'PSHSB", "CAT", "WTB")

    My CFQUERY embedded SQL looks like this:

    Quote:
    < name cfquery = "qResults" datasource = "#request.dsn #" >
    Select Name,
    bureau_code,
    Telephone,
    Mobile phone,
    Pager,
    E-mail
    Availability,
    Explanation,
    Password,
    Admin,
    last_login = convert (varchar (20), last_login, 0)
    of PAMS where availability = ' don't
    < #request.seltype # cfif IS NOT "ALL" >
    and bureau_code IN #bureau_incode #.
    < / cfif >
    < / cfquery >
  • Problem with overlapping lines all showing the report.

    I have a sample of data as shown in the attached file.

    I created a report for the data (such as it is attached). When I saw the report that I see the formatting of the table is not correct. It is as shown below.

    Sampel Img.JPG

    The dotted lines are just a reference. they are not actually rendered. I think that the Extension of the line of the table to the right is due to overlap. How can I avoid it?

    Please use the attached RTF model and let me know if problems.

    Manually adjust the width/height of the cell or table, and then choose the option for each of the nested tables and parent table.

  • What is the problem with my Oracle reports parameter?

    Hello

    We use a PL SQL package that allows the user to select the report you want Oracle and associated parameters.   While the control is passed to Oracle 11 g reports.

    The requirement of one of the reports is to enable more detailed codes be selected by the user and then shown.  The detailed code is an alphanumeric field that can hold between 4 and 6 characters.

    If my data model looks like this

    SELECT student_id

        FROM my_view

       WHERE detail_code IN :p_detail_code;

    and the parameter that I'm passing to Oracle reports looks like this (when I view the source HTML code)

    & p_detail_code =('1001','1002')

    so no record is selected.

    However, if my data model looks like this, I get the records you want:

    SELECT student_id

      FROM my_view

    WHERE detail_code IN ('1001', '1002');

    We have Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production.

    Please tell me what is the problem with my setting.  Thanks a lot for your help.

    This isn't how you can use in. See this example on how to solve it with the digital settings. If your setting is a character, you need to change this.

    In fact, when you simply enter 1,2,3 as an input parameter, you actually create this query:

    Select *.

    from my_table

    where num_column in ("1,2,3")

    Use rather a lexical parameter:

    Select *.

    from my_table

    & p_where

    In the parameter after relaxation shape, build the lexical like this:

    :p_where := 'where num_column in ('||:p_param||')';
    
  • Problem with passing the values in a report to the other

    Hello

    I am Agnes, I have developed 2 reports. Summary of the first high level, Mithraeum is detailed. First report is developed using Union (4 union), I have 4 columns. The report generates data. I used the Navigation option on customer column to go to the second report. In the second report with filter I use the easier option. Due to a problem, the customer value of the first report is failed per second. The second report is getting generated for all customers.

    Normally, I have used this option to navigate through other reports and which works very well. I even tested with Union, it works. This time is to give some difficulties.

    Please, let me know what goes wrong.

    Thanks for the help.

    If your Union pivot source then by a simple navigation that you can not pass clicked value to the second report.

    With the help of GoNaV you can pass the selected value source union pivot report to the non-Union target report. If the target report is also union pivot, then it won't pass filters using GoNav.Not sure that because someone talked about a few days back that with the help of GoNav possible to pass the value of a union pivot query to pivot anothet union report.

    Kind regards
    Sandeep

  • Problem with LOV in Oracle forms 10g when running on the Web

    Dear

    I am facing problem in displaying LOV under Oracle developer 10g on the web.
    When I press F9 nothing appears on the screen, but in the taskbar, it displays a list of values.
    The query I used in the record group executed in SQL * more and it is there no problem with him.
    What all I need to do, pls help me to solve the problem.

    Thank you

    Hello

    You are welcome. :)

    whenever the issue is resolved, please mark it as correct and useful so that others may know what is the correct answer.
    and take a look at the Label of Forums

    Kind regards

    Manu.

Maybe you are looking for