Killing report using Killjobid in reportserver 10g hidden?

Dear All,
Actually i want to kill a running report in the report server by clicking such a button that have already the jobID.
whithout opening the reportserver page so that no body see any other reports running.
like in this example:
Declare
L_URL Varchar2(1000);
Begin
L_URL := :apps_server||'/reports/rwservlet/Killjobid'||:JOB_ID||'?'||'server='||:report_server;
WEB.SHOW_DOCUMENT ( l_URL,'_blank') ;
End;
this code is worrking verry well. but the problem is when it kills the job it open the webpage that contains the OK buttons to get back to the past running reports.
So I used this command:
WEB.SHOW_DOCUMENT ('javascript:window.open('||l_URL||');self.close()','_blank') ;
but nothing happend, even it doesnt give me any error.
Is it posible to do that to kill the job without openning the report server, If so how can do it. and do i have to do any settin someware on the server like formsweb.cfg or reportserver.cnf.
thanks in advance.
Edited by: Ashraf Kittaneh on Jan 29, 2011 12:16 AM

What about the iframe-solution provided in the other thread?

Similar Messages

  • How to generate report using toad in oracle 10g

    hi ,
    i am using oracle 10g with toad editor .if i am execute any table, result it will be 100 rows like, i want to make report each records page wise with header,footer etc..
    please help..
    thank u..

    That is a Toad question isn't it, and Larry still didn't buy Quest, so you are at the wrong address.
    Go to http://www.questsoftware.com and find their forums.
    Thank you.
    Sybrand Bakker
    Senior Oracle DBA

  • Problem running reports using webutil in Forms 10g

    This is about 3 dll files related to webutil functionality in forms 10g
    d2kwut60.dll
    jacob.dll
    JNIsharedstubs.dll
    I am running report which is using webutil functionality. So when I try to run report, our application server try to download above dlls to my local machine on path C:\Program Files\Java\jre6\bin
    Due to security policy, our company doesn't allow write access to folder C:\Program Files\Java\jre6\bin and hence report is failing to run.
    We need solution for this issue so that we should be able to run report successfully?
    Details as below:
    Application server : Forms 10g - 10.1.2.3 ( Using Sun jre and not jinitiator). We do not want to use jinitiator
    Browser - IE8

    Curious, typically Java will store these "temporary" files in the cache not in the BIN directory. Unfortunately, the only way I know to change the location of the CACHE (temporary files) directory is through the Java Control Panel applet. Open the Control Panel and start the Java Control Panel. On the General tab click the Settings... button in the Temporary Internet Files section. In the Location section - click the Change button which will bring up a "Temporary Files Location" dialog box. Simply navigate to a directory that your security policy will allow files to be written too.
    The ideal solution would be to push this type of change out to all of your users rather than have to manually change each workstation. I don't know if there is a way to push this change out, but you can check the Java website for more information.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Passing parameter values to another report using URL actions (reportserver)

    Hi guys,
    I have two reports that I link with eachother. For report A - B everything works perfect. When I try to do the same for report B - A it works, but the parameter value is not filled in.
    =Iif(
    Parameters!PAR_LinksEnabled.Value, 
    Globals!ReportServerUrl & "?" & Replace(Globals!ReportServerUrl, "_vti_bin/ReportServer", "")
    & "Reporting/POS Reporting/Reports/POS Report.rdl&POS_ID=" & Parameters!CONNECTION_ID.Value & "&POS_LANG=" & Parameters!POS_LANG.Value & "&PAR_Date=%5BDate invoice%5D.%5BBonus Calendar - Week%5D.%5BBonus
    week of year%5D.%26%5B" & Left(Parameters!YEAR_WEEK.Label, 4) + "%5D%26%5B" & CInt(Right(Parameters!YEAR_WEEK.Label, 2)) & "%5D",
    Nothing
    Even tho I specify the parameter he has to pass through, the report opens with parameter period : <select a value>. Anyone has an idea why such behaviour happens?
    Thanks!

    Hi Yvanlathem,
    Per my understanding that you want to use the expression above to conditional add the hyperlink to pass the value to the parameter of anpother rreport via the URL in the SharePoint integrated mode report server, right?
    I have check the expression you have provided and the issue can be caused by the wrong way you have write the expression to pass the parameter, please check detais information below to make sure you have pass parameter in the URL correctly:
    Please modify the expression to below structure :
     =Iif( Parameters!PAR_LinksEnabled.Value="Enabled", "URL",Nothing)
    I saw you have use expression like "&POS_ID=" & Parameters!CONNECTION_ID.Value & "" which is incorrect, we need to set a report parameter within a URL, use the following syntax:
     parameter=value(not Value=Parameter)
    If you are using the following syntax like "Parameter1=Parameter2", both parameters and from different report, if you have add the "Go to URL" action from  report2 to Report1, please make sure Parameter1 is from the Report1
    and Parameter2 is from Report2, change the order will not work
    More detail information:
    Pass a Report Parameter Within a URL
    So, In your scenario, please make sure the value is from one report's field (POS_ID) and the the parameter(CONNECTION_ID) is from another report (e.g:"&CONNECTION_ID=" &Fields!POS_ID.Value &"")
    Similar thread for your reference:
    SSRS 2012 Drill Through report cascading Parameters not refreshing
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to build reports using discoverer (oracle 10g on winxp professional)

    hello:
    I have an sql query which queries multiple tables.
    I have to build the report using oracle discoverer plus...can anybody guide me what is the path to accomplish this.
    the sql is following
    SELECT COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME, COUNT(CARRIER.NAME) SUBSCRIBERS FROM COUNTRY, CARRIER, USER_DEVICE, USER_ WHERE
    USER_DEVICE.APPLICATION_ID = 1 AND
    USER_DEVICE.CARRIER_ID = CARRIER.ID AND
    CARRIER.COUNTRY_ID = COUNTRY.ID AND
    USER_DEVICE.USER_ID = USER_.ID
    GROUP BY
    COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME ORDER BY COUNTRY.NAME, CARRIER.NAME
    when i try to validate this query in oracle business intelligence administrator by building a complex folder the validator gives error and cannot validate...
    please tell me how can i accomplish to run the above query using oracel discoverer

    yes it worked like that...thanks...
    now i want to add user defined parameters to it...
    as the folder is a complex folder all the colums i get(in discoverer plus) are those which i am mentioning in my query...but i have to get the parameter based on column from another table User_ and i can't show that column in my query as the query won't work if i include it...
    I hope I was able to make u understand my problem...
    please tell me how can i build paramters from the USER_table
    Waqas

  • Calling Report from Menu (Oracle Forms 10g)

    We have the applications in Forms6i & Reports 6i (Client Server) and migrating to Forms 10g and Reports 10g. We have the menu, from that menu we are calling all the forms and Reports. For especially Reports earlier we user RUN_PRODUCT but now 10g it is not working. How can call the report using RUN_REPORT_OBJECT
    Important things we have some dynamic parameters (input) to the each report. That means when i called the report from the menu i need to get first parameter form to take the parameters and then can be run the report.

    Here is the code to call report from menu in 10g
    DECLARE
    pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep varchar2(100);
    v_server VARCHAR2(100);
    rep_status varchar2(100);
    v_host VARCHAR2(100);
    BEGIN
         select rep_server into v_server from reports_data;
         select machine into v_host from reports_data;
    pl_id := Get_Parameter_List('tmpdata');
         IF NOT Id_Null(pl_id) THEN
         Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('tmpdata');           
    Add_Parameter(pl_id,'P_C_CODE',TEXT_PARAMETER,:GLOBAL.COMPANY);
    Add_Parameter(pl_id,'P_B_CODE',TEXT_PARAMETER,:GLOBAL.BRANCH);
         repid := find_report_object('REPORTOBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,getpath||'E_VOUCHER_ENTRY.RDF');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_server);
              v_rep := RUN_REPORT_OBJECT(repid, pl_id);
              rep_status := REPORT_OBJECT_STATUS(v_rep);
              WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
                   LOOP
                        rep_status := report_object_status(v_rep);
                             message('Running');
                   END LOOP;
              IF rep_status = 'FINISHED' or rep_status is NULL THEN
                   --Display report in the browser
                   WEB.SHOW_DOCUMENT('http://'||v_host||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_server,'_blank');
              ELSE
                   null;
         END IF;
    END;

  • Web Analysis Reports using a Relational Database

    I would like to create a Web Analysis report using data from an Oracle database. From Web Analysis, I try to create a new database connection. I select Oracle as the Driver type. In the Database Connection String field, I replace {HOST-NAME} with the Host information from the TNSNAMES.ORA file. I've confirmed the Port number is correct. When I test the connection, it fails. What am I missing? The format of the Database Connection String that is defaulting into the field is:
    jdbc:oracle:thin:@{HOST-NAME}:1521:ORCL
    Is there anything else I need to include besides the Host name and Port number, for example, do I need to include the SID?
    Thanks.
    Terri T.

    The ojdbc14.jar currently exists in the following directories:
    bea\weblogic81\server\lib
    oracle\product\10.2.0\client_1
    bea\weblogic81\server\ext\jdbc\oracle\920
    There is a ojdbc14_g.jar that exists in:
    bea\weblogic81\server\ext\jdbc\oracle\10g
    bea\weblogic81\server\ext\jdbc\oracle\920
    The classes12.jar file exists in:
    oracle\product\10.2.0\client_1\oui\jlib
    So from your response, I assume I need to copy classes12.jar to a directory under bea\weblogic81?
    Thanks.
    Terri T.

  • Running report as PDF in OAS 10g (10.1.2) Reports Services

    Hi,
    PDF reports are running fine in Firefox browser but they are displaying data as garbage in internet explorer on some PCs. But on other workstations, these reports are running fine in Internet Explorer as well. I am using Oracle Application Server 10g, Reports Services (10.1.2). Adobe Acrobat 6 or Acrobat Reader 7 is installed on all PCs. Could anybody pointout that what might be the problem?
    Thanks in advance.

    check the fonts used by the reports are installed on that computer u r invoking the reports.
    chikki

  • Reports who work in BIP 10G does not work in BIP 11G

    Hi!
    We are in the middle of going from BIP 10G to BIP 11G (latest patch installed the 9 of february). We have used the Upgrade Assistant to migrate the reports from 10G to 11G, about 80-90% are working directly.
    But, as always are there some problems. There are 2 major problems I am struggling with for the moment. 1 is long running reports who gets "Connection reset by peer" before the report ends and the more problematic which is this:
    [2012-02-27T11:09:50.397+01:00] [bi_server1] [ERROR] [] [oracle.xdo] [tid: 24] [userId: <anonymous>] [ecid: 22bf1318a95b3a18:-528a5dc9:135b0d15f61:-8000-0000000000025a30,0] [APP: bipublisher#11.1.1] XSL error:[[
    <Line 80, Column 151>: XML-23002: (Error) internal xpath error
    @Line 80 ==> <_G><xsl:if test="sum($G1[(./QADATE02 = current-group()/QADATE02)]/QATRQT) = '0'" xdofo:ctx="3">
    [2012-02-27T11:09:50.397+01:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 24] [userId: <anonymous>] [ecid: 22bf1318a95b3a18:-528a5dc9:135b0d15f61:-8000-0000000000025a30,0] [APP: bipublisher#11.1.1] oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException[[
         at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1205)
         at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:276)
         at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:1973)
         at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1117)
         at oracle.xdo.servlet.RTFCoreProcessor.transform(RTFCoreProcessor.java:124)
         at oracle.xdo.servlet.CoreProcessor.process(CoreProcessor.java:372)
         at oracle.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:93)
         at oracle.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:1059)
         at oracle.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:624)
         at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:477)
         at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:447)
         at oracle.xdo.servlet.XDOServlet.doGet(XDOServlet.java:267)
         at oracle.xdo.servlet.XDOServlet.doPost(XDOServlet.java:299)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.metadata.track.MostRecentFilter.doFilter(MostRecentFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:122)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(InitCheckingFilter.java:64)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor7820.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:917)
         at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:609)
         at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:328)
         at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:187)
         at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1181)
         ... 40 more
    Caused by: oracle.xdo11g.xqxp.XQException: XPTY0004
         at oracle.xdo11g.xslt.XSLStylesheet.flushErrors(XSLStylesheet.java:1850)
         at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:616)
         at oracle.xdo11g.xslt.XSLStylesheet.execute(XSLStylesheet.java:551)
         at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:345)
         at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:194)
         at oracle.xdo11g.xslt.XSLProcessor.processXSL(XSLProcessor.java:230)
         at oracle.xdo11g.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:124)
         at sun.reflect.GeneratedMethodAccessor7820.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:920)
         ... 44 more
    Does anyone have the solution for this type of error, we have about 30-40 reports that is behaving like this in BIP 11G but works fine in BIP 10G.
    Can we do anything general in the BIP 11G or does we need to find the solution for each report and change in the template?
    All ideas are appreciated, thanks,
    Anders B

    Hi!
    Have everyone out there been able to use the upgrade assistant without any problem?
    The UA.bat program says everything is ok but the report actually created in BIP 10G does not work in BIP 11G. We are looking for documentation or "findings" of what the problem can be, in a more general way. We are aware of that we probably have to fix this manually, but we dont know what to fix, and it is not so "fun" to be forced to re create all this templates and reports. The datamodell seems for the most of the time works, so we get a working xml source but the creation of the report thru the template dont work.
    Best regards,
    Anders

  • REP-300 Error while running report using App Server

    Hi,
    I am currently trying to run a report using the Application Server.
    This report is being called from a form.
    I am able to connect to the report server and all configurations seems to be correct.
    But when I execute the report from the form, I am getting error "Unable to run report"
    When I look at the error message in the Report Server queue, I find
    "REP-300 Table or View does not exist.."
    But that table does exist in the database.
    What could be be the problem ?
    Please help.
    The code in the form that calls the report is
    report_id := FIND_REPORT_OBJECT( report_name );
    vc_user_name:=get_application_property(username);
    vc_user_password:=get_application_property(password);
    vc_user_connect:=get_application_property(connect_string);
    vc_connect:=vc_user_name||'/'||vc_user_password||'@'||vc_user_connect;
    SET_REPORT_OBJECT_PROPERTY(report_id ,REPORT_OTHER, 'paramform=yes     p_user_connect='||vc_connect ||' p_servername=repsrv'||' p_action=<host>/reports/rwservlet?' );
    v_rep := RUN_REPORT_OBJECT(report_id, parmlist_id);

    The report is working perfectly fine when I run it from the Report Builder. I get the correct output.
    I am getting this error when I try to run the report through a Report server.
    I run the form from the Forms 10g builder. This form has a button "Run Report". When I click on the button the report is run using the Report server.
    This is when I get the error.
    There are other forms that are also called via the same form. Those work fine. The only difference between those forms and this one is that this one has user parameters passed to it. This one also has an attached library attached to it.
    The code in the Form to call the report is
    report_id := FIND_REPORT_OBJECT( report_name );
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, FILE);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'pdf');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, 'rep-vena01-xp');
    v_rep      := RUN_REPORT_OBJECT(report_id, parmlist_id );
    v_jobid := substr( v_rep, length( v_reportserver) + 2, length(v_rep) );
    v_repstatus := REPORT_OBJECT_STATUS( v_rep );
    IF ( v_repstatus = 'FINISHED' ) THEN
    v_url := '/reports/rwservlet/getjobid' || v_jobid || '?server=' || v_reportserver ;
    web.show_document( v_url, '_BLANK' );
    END IF;

  • Image not displaying in pdf report using XSL-FO and using Oracle 11g databa

    Good Afternoon,
    I have created over 15 reports using XSL-fo, with the following syntax to display an image on the pdf:
    fo:block margin-left="0.24cm" margin-right="0.27cm" margin-top="0.0cm" ><fo:external-graphic content-width="scale-to-fit" content-height="scale-to-fit" width="1.73cm" height="1.57cm" >
    <xsl:attribute name="src">'url("http://readiness:7780/i/marforcom_symbol_rpts.gif")'</xsl:attribute></fo:external-graphic>
    </fo:block>
    This syntax works fine when using Oracle 10g, now my database has been upgraded to 11g and my image no longer displays in the reports. I have already upload the image into the database as a workspace image.
    I have tried to point the image @ the image by using url(#WORKSPACE_IMAGE#marforcom_symbol_rpts.gif)
    or <img src ="#IMAGE_PREFIX#marforcom_symbol_rpts.gif")
    and it still doesn't work.
    I have searched this forum trying to come up with a solution that will fix my problem and am unable to.
    Current config: Oracle 11g, using pl/sql gateway.
    I need to know how to point the xsl-fo file to the database, where the image now resides.
    Thanks,
    Mary
    Edited by: MaryM on Jul 25, 2012 3:15 PM
    Edited by: MaryM on Jul 25, 2012 3:51 PM

    Hi,
    I think you need load images to database XDB virtual directory /i/ and then use #IMAGE_PREFIX# substitution.
    This might help to access /i/
    http://www.apex-blog.com/oracle-apex/accessing-i-using-ftp-170.html
    Or use this to load images
    http://oracleinsights.blogspot.fi/2012/05/loading-images-into-oracle-xdb.html
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • I need a code to run a report from a forms on 10G...

    Hi!! I´m migrating from 6i to 10G and i cant run a report... can someone send me a sample code to run a report from a form in 10G??
    Thanks!!
    Regards!

    iam using Javabean in oracle 10g forms to tun the report....
    First create a block with a name control and add an bean to it with a name
    userid_bean.click the proerty of the bean and changes its width and height
    so that u cannot see it when u run the particular form.
    now use the below code where u are coding to run the report.
    Declare
    rep_url varchar2(2000);
    begin
    rep_url := '/reports/rwservlet?report=filepath\rep1.RDF' ||
    '&desformat=htmlcss&destype=cache&userid=sample/sample@oracle' || '&paramform=yes';
    -- Write Log messages to the Forms JInitiator console.The Next line must
    -- be disabled before running this code in any production environment.
    set_custom_property('control.userid_bean',1,'ADD_USERID',
    get_application_property(username)||'/'||
              get_application_property(password)||'@'||
              get_application_property(connect_string));
    -- writing the cookie
    set_custom_property('control.userid_bean',1,'WRITE_USERID_COOKIE','10g');
    web.show_document(rep_url,'_blank');
    end;

  • How do I connect from Crystal Report version XI to Oracle 10G express?

    I'm new to oracle 10G express and I'm developing an application that needs reports to preview some data from oracle tables.
    The oracle database is installed on the server and I installed the client on my machine. I need to use the crystal report 11 to report the output. Thus, I designed a crystal report that should simply read a table on oracle and though I need to be able to connect to the oracle 10G Express Edition database. I tried to create a connection from the crystal report using the Database Expert >> Create New Connection >> Oracle Server and I include the following parameters.:
    - Service: host:1521/XE
    - Username: username
    - Password: password
    Then when I tried to connect the crystal report crashes always.
    Is there any way to create a connection to the Oracle Database 10G express from Crystal Report 11?
    Please advise...

    Thank you bala,
    First, How I should start the Listener on the database server?
    Listener.ora content:
    SID_LIST_LISTENER =
    +(SID_LIST =+
    +(SID_DESC =+
    +(SID_NAME = PLSExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +(SID_DESC =+
    +(SID_NAME = CLRExtProc)+
    +(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)+
    +(PROGRAM = extproc)+
    +)+
    +)+
    LISTENER =
    +(DESCRIPTION_LIST =+
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +)+
    +)+
    DEFAULT_SERVICE_LISTENER = (XE)
    How to configure the tnsnames.ora on the client side?
    tnsnames.ora content:
    XE =
    +(DESCRIPTION =+
    +(ADDRESS = (PROTOCOL = TCP)(HOST = Daoud-PC)(PORT = 1521))+
    +(CONNECT_DATA =+
    +(SERVER = DEDICATED)+
    +(SERVICE_NAME = XE)+
    +)+
    +)+
    EXTPROC_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = PLSExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    ORACLR_CONNECTION_DATA =
    +(DESCRIPTION =+
    +(ADDRESS_LIST =+
    +(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))+
    +)+
    +(CONNECT_DATA =+
    +(SID = CLRExtProc)+
    +(PRESENTATION = RO)+
    +)+
    +)+
    Now I`m trying to initialize this on one machine (database & client) and so the crystal report will be on the same machine where the database exist; Additionally, this machine has OS Windows 7 Ultimate 64bit and include the Oracle 10g Express Database & Oracle 10g Express Client software.
    Please check the files content I included above and give me the way on how to establish a connection from the crystal report to the database where both are installed on the same machine.
    Thanks in advance...

  • Hide report path in oracle form 10g (10.1.2.0.2)

    Dear all,
    I m oracle form 10g (10.1.2.0.2) ,when i run report through form using paramform='yes' then parameter form open with path and userid/pass please
    help me how to hide this path

    Dear all,
    I m using WEB.SHOW_DOCUMENT, but i m running report without AS
    using following code,
    v_pw:=
    get_application_property(password);
    v_user:=
    user;
    v_conn:=
    get_application_property(connect_string);
    lv_host:=
    :global.gv_ser_add;
    lv_sys_param:=
    '&server='||:global.gv_ser_nm||'&DESTYPE=CACHE&DESFORMAT=PDF&mode=DEFAULT&PARAMFORM=yes';
    lv_path:='report=D:\test.rep';
    lv_usr_dtls:='&USERID='||v_user||'/'||v_pw||'@'||v_conn;
    lv_url:=lv_host||lv_path||lv_sys_param||lv_gen_param||lv_usr_dtls;
    lv_url:=replace(lv_url,' ',lv_url);
    hidden_action := hidden_action ||'&USERID='||get_application_property(username)||'/'||v_pw;
    web.show_document(lv_url,'_blank');
    please suggest where i m doing wrong
    Thanks
    Manoj rajput
    hide report path in oracle form 10g (10.1.2.0.2) 

  • Designing SSRS 2005 report using matrix

    I have created a report using ssrs 2005 and matrix.
    i have "to company" column group and "from company" row group. 
    i have filter for the report as "select currency type" - local currency (may be diff for diff companies)
      foreign currency (same for all companies)
    if user selects foreign currency i want to show total column and if user selects local currency then i want to hide total column (since curr can be diff so does not make sense adding)
    i have added subtotal for amount which look like, (rightclick on, =field!tocy.value and add subtotal)
    how to hide total column depending on currency selection ? 
    I tried to rightclick on total and hide it but it only hides the title. It displays column. i can not rightclick on cell right side of amount cell (below total).
    Any solution to hide total column depending on codition ??
    h2007

    Yes you can use an expression as below
    =IIF(Not InScope("<ColumnGroupName>") And Parameters!Currency.Value = "<Local Currency Name>",True,False)
    this should be set as the hidden property expression for the textbox in the data area ie  the one containing SUM(Fields!Amt.Value) as the value expression
     Also see
    http://visakhm.blogspot.in/2010/01/inscope-operator-in-sql-reporting.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for

  • Airport is unstable and slow

    Hello everyone, I just bought a used mac book pro. It has a clean install of lion 10.6.8 Airport is very unstable and slow. Ethernet is solid and fast. Was up late/and tweaking around in settings all day. Finally got the settings to recognise the 2wi

  • Uploading stills giving odd clip length for time laps.

    I'm putting together a timelapse movie with about 6K stills.  I have them gathered in groups of 600.  They're all about 4 megs.  I'm taking them into a sequence at 24 fps.  Why is my clip coming in at about 6 sec's?  Then another group of 600 stills

  • [NOTE] Adding xsi type to SOAP messages

    Here is a quick 2.0.10 note. Some older SOAP stack require xsi type information embedded in the SOAP message to unmarshall the XML message into the appropriate object representation. Most customers do no want the overhead of xsi type definition into

  • IChatAgent takes more than 100% of CPU

    The iChatAgent takes more than 100% of CPU. It works normally for 10-15min with little CPU usage but then takes 100% of CPU and stays like that until I quit/kill the process. I tried waiting for hours to see it might go down is usage, but no, and the

  • BAdi vs. User Exit

    Hi, I was exploring the world of BAdi's and its use. I went thru its documentation on help.sap.com. But I still could not understand completely its advantage over customer exits. I mean why should I opt for BAdi over Customer exit? Regards, Vikrant.