Oracle Report Help

Hello,
I am new to Oracle and sql. I am working on the Oracle
Reports. Can anyone suggest me where will be the best place to
get help on this. Any suggestions will be appriciated.
Thanks
Sam

Hi Sam..
I'm also quite new in field of Oracle Reports, I have already
had experience in Oracle Database Server. I think you may refer
to the Oracle Reports help coming with your s/w, that's good for
first understanding. Then.. I just find out that this forum is
also helpful with many nice and "willing to help" people.
Well... wish you all the best and go ahead with your new job!!
kr,
daniel

Similar Messages

  • Changing Database Oracle Reports Connection.

    Hi Fellows.
    I would like to know if it is possible to Change Oracle Reports Connection (Ver2.5) after the end user fill in the Parameter Form. I have about 21 agencies with a Database in each one and the end user have to choose the agency what he wants to query. Send some ideas to see what can i do.
    Thanks for your Help!
    P.D. I had reading Oracle Reports help and I had found something about but did not work (CONNECT DB scott/tiger@inventory).

    Don't know how to do that, but I have a suggestion (not a very good one, i agree). You can use lexical parameters to achieve this.
    You may have all of your Report client connecting to the same "dummy" database. In this DB you'll create database links for all other agencies (databases).
    In the parameter form, you create a DB_LINK parameter listing all available agencies (DB Links).
    In your report query, you'll use a lexical parameter. I'd look something like that:
    select bla bla bla
    from TABLE_NAME@'&DB_LINK'
    As I said, it's not a very good idea, but I don't know an alternative either. If you already have lots of reports, you'll have to alter each one. I don't know if DB Links are a feasible solution for your environment. Don't know if you have the time for that...
    Regards,
    Marcos

  • Help needed for MySQL 5 database DSN less connection with Oracle reports

    Hi,
    I am using Oracle Develper Suite and java (J2EE) for my application. I am using MySql 5 as database tool. I want to use Oracle reports of Oracle Develper suite. I have created some reports by first creating system DSN for MySql database and then connect Oracle reports to that DSN by "jdbc:odbc" connection string provided in Oracle Report developer wizard. This is working fine.
    I want to generate reports without creating system DSN (DSN less) so that i can use my application on any computer without creating DSN for Oracle Reports. I am deploying my application on OC4j as "EAR" file.
    Help in this regard will be highly appreciated.
    Regards.

    Using an 8i client, you will need to configure the tnsnames.ora file with appropriate connection information if you are using local naming. If you are using host naming or something like an Oracle Names server to resolve TNS aliases, you can skip the tnsnames.ora configuration. A default installation of the Oracle client, though, will probably be using local naming.
    If the tnsnames.ora file is configured, or you have configured an alternate way of resolving TNS aliases, you should be able to use the connection string
    DRIVER={Oracle ODBC Driver};DBQ=<<TNS alias>>;UID=system;PWD=managerIf you wanted to move to the 10g client (the 10g Instant Client could be useful here), there are some streamlined naming methods that could be used instead of configuring the tnsnames.ora file.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Help with Oracle Report Builder and SQL Server2000

    Hey guys,
    I just installed it Oracle Developer Suite10g with Report Builder and I am trying to use Report builder and wants to connect with SQL Server 2000. The problem that I am running in to is SQL Server 2000 i have is Window Authentication so Does not required to enter user name and password. So how can i connect my report builder to SQL server or is it possible to connect Report builder to SQL server?
    Also, I want to create small practice version of database in Oracle how do i do it? what i mean by that is I installed trial version or Oracle developer 10g from www.oracle.com and now trying to get some knowledge with oracle. Could any one can give me some direction in this matter please.
    Thank You
    Key

    Have a look at the reports help for the purpose header and trailer sections. Here is an exert:
    "Report sectioning enables you to define multiple layouts in the same report, each with a different target audience, output format, page layout, page size, or orientation. You can define up to three report sections, each with a body area and a margin area: the names of the sections are Header, Main, and Trailer. By default, a report is defined in the Main section. In the other sections, you can define different layouts, rather than creating multiple separate reports. If you wish, you can use the margin and body of the Header and Trailer sections to create a Header and Trailer page for your reports."

  • Help desiging a 10g Oracle Report with Matrix and Lexical Parameters - Long

    Hello all:
    I apologize in advance for this long post.... I'm using Oracle Reports 10g (9.0.4.0.33). First -- the question:
    I need to create a Matrix where the rows come from one database table
    (TABLE1) and the columns and cell contents come from a linked query (pulled from TABLE2) that is generated with lexical parameters based on the current TABLE1 row. The lexical parameters contain a WHERE clause for the TABLE2 query. Basically, I have a linked query between TABLE1 and TABLE2. I need to generate a Matrix around it.
    Does anyone know if this is even possible?
    Here's the background on the application, if that is helpful...
    I have an application where I maintain database tables containing names/addresses along with information pertaining to them. As part of the processing, I need to produce reports that contain statistics based on values in the table. For example, each row has a field RTYPE that identifies the Record Type (1-Suppress, 2-Buyer, 3-Inquirer). Each row also has a last purchase date field. The statistics produced for this field would look like this:
              2001     2002     2003     11/03     12/03 01/04     02/04 03/04     04/04     05/04 ...
    Buyer      100 150 250 30 25 15 8 9 22 83
    Inquirer     1000 800 493 ...
    Suppress ... ...
    Totals ... ...
    Each cell contains the count of the number of records that have the corresponding RTYPE and Last Purchase date. The dates across the top are determined by the most recent purchase date in the file. We count the last 12 months, month by month, and then anything older than that is grouped by
    year of purchase. So, the column headings are variable.
    The SQL query for this example looks like this:
    SELECT CASE WHEN rtype = '2' THEN 'Buyers'
    WHEN rtype = '3' THEN 'Inquirers'
    WHEN rtype = '1' THEN 'Suppress'
    END HLDESC,
    CASE WHEN MONTHS_BETWEEN(trunc(:MAXHLDATE,'MONTH'),
    TRUNC(T.HOTLINE,'MONTH')) < 12
    THEN TO_CHAR(T.HOTLINE,'YYYYMM')
    ELSE TO_CHAR(T.HOTLINE,'YYYY') || '00'
    END YYMM_8,
    CASE WHEN MONTHS_BETWEEN(trunc(:MAXHLDATE,'MONTH'),
    TRUNC(T.HOTLINE,'MONTH')) < 12
    THEN TO_CHAR(T.HOTLINE,'MM/YY')
    ELSE TO_CHAR(T.HOTLINE, 'YYYY')
    END FmtDate_8,
    COUNT(*) HLCOUNT
    FROM &TABLENAME T
    GROUP BY CASE WHEN rtype = '2' THEN 'Buyers'
    WHEN rtype = '3' THEN 'Inquirers'
    WHEN rtype = '1' THEN 'Suppress'
    END,
    CASE WHEN MONTHS_BETWEEN(trunc(:MAXHLDATE,'MONTH'),
    TRUNC(T.HOTLINE,'MONTH')) < 12
    THEN TO_CHAR(T.HOTLINE,'YYYYMM')
    ELSE TO_CHAR(T.HOTLINE,'YYYY') || '00'
    END,
    CASE WHEN MONTHS_BETWEEN(trunc(:MAXHLDATE,'MONTH'),
    TRUNC(T.HOTLINE,'MONTH')) < 12
    THEN TO_CHAR(T.HOTLINE,'MM/YY')
    ELSE TO_CHAR(T.HOTLINE, 'YYYY')
    END
    ORDER BY CASE WHEN MONTHS_BETWEEN(trunc(:MAXHLDATE,'MONTH'),
    TRUNC(T.HOTLINE,'MONTH')) < 12
    THEN TO_CHAR(T.HOTLINE,'YYYYMM')
    ELSE TO_CHAR(T.HOTLINE,'YYYY') || '00'
    END
    There might be a better way to write this, but that isn't the issue at the moment.
    I have many different tables, each with different fields. I need to produce counts on each of those fields. Some of those fields have a limited number of values where I need to count the occurrences and attach a description (like the RTYPE counts above). Others, like Last Purchase Amount, require counts within ranges (between 0 and 9.99, 10 and 19.99, etc.). Still others are "multiple choice"-style fields (such as products purchased), where we have multiple single-char flags that are not null when the corresponding products are purchased. In this case, we need to produce statistics that look like this:
              2001     2002     2003     11/03     12/03 01/04     02/04 03/04     04/04     05/04 ...
    Product 1 .........
    Product 2 .........
    The worst of the bunch is a field where I need to count the occurrence of each value within it (hundreds of values) without entering descriptions, so I don't know how many rows will appear ahead of time. This is used for "source codes" that identify where the name/address came from. They look similar to the RTYPE above, but the leftmost column contains each value from the field rather than a description. There are so many possible values and they change so often that it isn't feasible to enter a description for each one.
    Right now, I manually create an Oracle Report for each table when I design/load it. This is becoming difficult to manage, since I have over 150 of them now. Each of these reports can have any number of matrices to display (the largest right now has about 25).
    The new table structure to generate these reports consists of two tables: A COUNTHDR table and a COUNTROW table. The COUNTHDR table represents a single Matrix within the report. It contains info such as a heading for the Matrix and whether column totals should be calculated or not. The COUNTROW table contains a description for each row and an SQL Fragment that contains an appropriate WHERE clause to match the description. In the event of a "source code" style count, COUNTHDR has the name of the field to count. COUNTROWs won't exist, so I'll be handling those counts differently. But, ignoring that issue for now, the report structure looks like this:
    + Q1 +
    |
    + COUNTHDR +
    |
    + COUNTROW +
    | linked query
    + Q2 +
    |
    + COUNTDTL +
    Q2 is the query with lexical parameters for the table and "where clause" that identifies the actual statistic I need counted. I need fields from COUNTROW and COUNTDTL to form a Matrix.
    Can this be done? How?
    Of course, if anyone out there has a better idea on how to achieve my goal of not writing a report per table, please let me know!! :-)
    TIA
    Eric Raskin
    PS. This structure does not exactly duplicate my original query, since multiple Matrix rows are created by the single SQL query given in the example. Instead, I'll end up executing an SQL query for each row, which is less than desirable. The design will need some tweaking...
    PPS. I have tried handling this problem by pre-counting the target table and storing the results in a COUNTCOL table, containing the details of the matrix. This actually does work, but the performance is terrible. I have one "source code"-style count that generated over 20,000 detail cells, including all the "0" cells needed to fill out the matrix. If you don't generate the "0" cells, you get holes in the matrix presentation and/or error messages (which I can explain if you wish). I never did get Oracle Reports to print this one -- I gave up after an hour of runtime on a P4 3GHz machine connected via Gigabit Ethernet to the server. Hence the attempt to push the SQL Queries back into the Oracle Report itself.
    Eric H. Raskin Voice: 914-765-0500
    Professional Advertising Systems Inc. Fax: 914-765-0503
    200 Business Park Dr Suite 107 [email protected]
    Armonk, NY 10504

    Hi there
    here's example of my code
    Html header of the page :
    <script language="JavaScript" type="text/javascript">
    function callMyPopup (formItem1,formItem2) {
    var formVal1 = document.getElementById(formItem1).value;
    var formVal2 = document.getElementById(formItem2).value;
    var url;
    url = 'f?p=&APP_ID.:8:&APP_SESSION.::::P8_PROJECT,P8_PDRL_NO:' + formVal1 + ',' + formVal2;
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    </script>
    troubleshooting
    1.Test each parameter separate first - each work ?
    2.Use code above, rerig it, create multiple parameter
    3.try again...
    hope this helps...
    check your orginial source (page where items are) - what data

  • Need help with Oracle reports 10g

    Hi
    we have a requirement in a oracle 10g application
    this application is on the unix server
    the requirement is such that the user must be able to print a report directly to the default printer
    when the user clicks on the button a report must be printed on the users default printer
    can u help us understand that how can we configure the local printer of the user on the unix server?

    hi, piyush9010
    Check this following link...
    Oracle reports 10g output directly to printer
    Oracle reports 10g output directly to printer
    Make your printer as shared printer then try.
    Use DESTYPE=PRINTER.
    http://qamarsyed.blogspot.com/2011/02/how-to-print-oracle-report-to-network.html
    http://docs.oracle.com/cd/E14571_01/bi.1111/b32121/pbr_cla005.htm#i637246
    Hope this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • Help needed in Oracle Reports

    I am creating an Oracle Report.Now there is one Repeatating Frame in the Report.
    This Frame`s header title is also appearing on last page when there is no record for it ...
    Please help how to Stop this to display at last page when their is no record in it.....

    Hi,
    First of all you are in the wrong forum. The report forum is
    Reports
    and for you problem it heppens because sometimes the detail records covers the complete page and for total or summary fields header/group frame goes to the next page. For this thing you can do one thing. There is Page Protect property in the header frame keep it YES and then try.
    -Ammad

  • Help on Oracle Report sort option!

    Hi,
    My query in Q_1 of Oracle report is select &a_code ori_code ,&a_desc ori_description from &a ori_lup order by &b. When click on OK button it says
    ORA-00936: missing expression
    select ori_code,ori_description from ori_lup order by ==>
    I am not able to resolve this problem.
    What I am trying to do is I have some maintenance tables which have almost same columns like code, description. I want to define a single report and pass on parameters to this report, so that I can use same report for different tables. If I dont give order by clause it is working fine, but I should also provide sort option based on user selection of sort by code/description.
    Thanks for your help.
    Param Dasana
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Andrew Tselischev ([email protected]):
    Hi
    If I correcly understand you need sorted query, if the parameter 'b' is given, and not sorted query otherwise.
    This may be done, for exeample, by the following way.
    1. Delete the text 'order by' in your query as follows:
    select &a_code ori_code ,&a_desc ori_description from &a ori_lup &b
    2. Create 'AFTER PARAMETER FORM' trigger:
    function AfterPForm return boolean is
    begin
    IF LENGTH( LTRIM( RTRIM( :b ) ) ) > 0 THEN
    :b := 'ORDER BY ' | | :b;
    ELSE
    :b := '';
    END IF;
    return (TRUE);
    end;
    I think it will help for you.
    Andrew<HR></BLOCKQUOTE>
    Thanks Andrew , it worked with your suggestion!!!
    Param.
    null

  • Stand alone oracle report - need help asap

    Hi,
    We are in ORACLE Apps 11i. We started using ORACLE BI Publisher to create templates for the Oracle Reports. How we are doing reports now is
    1) create data definition XML which has all the queries embedded.
    2) Create Data definition in XML Publisher Admin responsibility.
    3. Attach the Data definition XML to that.
    4. Create a concurrent program definition for the report with XML Type and run the report and save the data file with tags.
    5. Create the template ,rtf in Word and export data using ORACLE BI Publisher. 6. Create template definition in the XML Publisher Admin responsibility and attach this .rtf to that and run the report.
    Now I have a requirement stating that the REPORT SHOULD BE AN ORACLE STAND ALONE REPORT AND THE REPORT NEEDS TO BE RUN THROUGH CONCURRENT PROGRAM SCREEN. I am planning on doing the following steps.
    1. I have to create an .rdf using report builder.
    2. Create concurrent program executable and definition for the report.
    3. Create data definition in XML Publisher admin responsibility.
    4. Run the report in apps.
    5. Create the tempalte .rtf in word and export data with the XML Data file with tags,
    6. Run the report.
    Am I correct? Any help is appreciated asap.
    Thanks
    Akil

    You said,
    standalone report ?? is that mean without using bipublisher ??
    1st method.
    create concurrent program, output xml,
    create data template, create datadefintion , attach Datatemplate.
    run the cc pgm, get xml, design RTF , create template definition , attach RTF,
    run the cc pgm, you get the pdf output.
    2nd method.
    create rdf,
    create concurrent program, output xml,
    run the cc pgm, get xml, design RTF ,
    create datadefintion , create template definition , attach RTF,
    run the cc pgm, you get the pdf output.
    , both requires, cc pgm, rtf, data defintion , template definition.
    only differnece is , how do you get the data, i mean, xml...
    data template or RDF.

  • Please help ! "Oracle Reports Server CGI - Reports Server name is not specified."

    Hello Gurus,
    I have an html form that allows putting in a parameter. Upon
    submit the form, it'll pass a string URL with the parameter to a
    new browser.
    My url: http://localhost/servlet/oracle.reports.rwcgi.RWServlet?
    diary&14252
    I also used keymap looks like this
    diary: report=Diary.rdf server=servername desformat=pdf
    destype=cache userid=id/psswd@db myoid=%1 %*
    But I get an Error: The requested URL was not found, or cannot
    be served at this time. Oracle Reports Server CGI - Reports
    Server name is not specified.
    However, if I move the cursor to the end of the same url (or put
    a space at the end) and hit Enter, then the report is
    displayed. I guess there must be something wrong with my
    configuration. Please help. I appreciated any inputs from you.
    Thanks in advance.
    Ashley

    I found the solution to my problem. It was nothing to do with
    the cgicmd.dat keymap file, but the html form itself. It's
    confused between the url arguments and form arguments from the
    submit button. So, what I did was open a new window with all
    arguments instead of using the submit function.
    Regards,
    Ashley

  • Help!  oracle report out of order after update Rollup for windows 2000 sp4

    hello once again
    i haven't received any solution of my problem, so i am again uploading it.
    ----PROBLEM IS GIVEN BELOW-----
    i am having a problem in oracle report printing (2000,6i). I have installed patch "update Rollup for windows 2000 sp4" on windows 2000. now when i send report(132 column) for printing to the printer, the report fails to expand to 132 columns and data is printed in unformatted fashion. in order to print the report correctly i have to remove the patch from the windows.i have set all parameters and
    defining page size in files like wide180.PRT in printers folder in oracle directory.
    Is there anyway to print the report without uninstalling windows patch?
    thanks

    I don't have any idea about this issue. Maybe someone else on this forum can help. Meanwhile, there are couple of places you can search for this issue:
    Search google for printing issues with this patch
    Search Microsoft forums for Windows 2000
    And if you have metalink account, search metalink forum, document/note or open a SR for this.

  • Need help on Oracle Report format

    Hi,
    I need help on Oracle Reports. I am generating a report in excel sheet. I have a column which is 13 digit number (In database it is CHAR datatype). In excel sheet it showing some thing like 9.78381E+12. I want to show complete number like 9783805591331.
    Also sometimes leading zero's are not showing when my column values is something like 0098794859583. I need to show the leading zero's as well in excel without losing them.
    Below are the parameters i am using for the report
    DESFORMAT=SPREADSHEET AND DESTYPE=FILE
    My Oracle 9i developer version.
    Any help on this would be much appreciated.
    Thanks
    Kishore

    An additional quote string ' character with the number field will solve this problem but if u want to display this field in report then it will look ugly
    '''||yourfield from table; check ur regional settings also
    plz mark it helpful correct if it is

  • Oracle Reports gives : "Failed to locate the Browser" Error. Please help.

    Hello All,
    I am new to Oracle Reports Developer. I followed the "Oracle Reports Tutorials" (Document ID : B14364-01) to build my first report.
    I tried to run the report in web layout mode : I got the following things.
    1) A new blank firefox window.
    2) After a few seconds : A message window in Report Builder with : "Failed to Locate the Browser" Message
    My Machine details :
    Windows XP sp3.
    Oracle Developer Suite 10g.
    Firefox version : 3.5.
    Registry Entries : HKEY_CURRENT_USER|Software|Oracle|Toolkit|TKBrowser. No BrowserName, BrowserPath keys found. So I added these keys manually under the paths :
    HKEY_CURRENT_USER|Software|Oracle|Toolkit|TKBrowser|BrowserName (value = firefox)
    HKEY_CURRENT_USER|Software|Oracle|Toolkit|TKBrowser|BrowserPath (value=C:\Program Files\Mozilla Firefox\firefox.exe)
    Ran the report again. This time also I encountered the same scenarios which I mentioned previously. Also tried with registry setting
    HKEY_CURRENT_USER|Software|Oracle|Toolkit|TKBrowser with value "BrowserName=firefox;BrowserPath=C:\Program Files\Mozilla Firefox\firefox.exe".
    I also ran with the all the settings once without restarting the computer after making the changes. And also ran each time by restarting the computer whenever I changed the value. I could not get a break thourgh.
    Please help me in resolving this issue. Your help is greatly appreciated.
    Thanks in advance,
    Suresh.

    Thanks for replying. I tried the same thing with Netscape 9 now. It is still displaying a blank web page and after a few seconds the same message in Reports Developer : " Failed to locate the Browser".
    Is there any specific setting that I need to customize in order to run the reports? My Forms are being executed without any issues. Where as I have problem with Reports Developer.
    Thanks in advance,
    Suresh.

  • HELP with Oracle Reports 6i - user parameters .....

    Hi, i have made a form with button in Oracle Forms 6i.
    When i press the button it fires trigger (when-button-pressed) where i declared and made parameter (:p_dep_no) which i want to sedn to report and later query report with this (:p_dep_no) ...
    In Oracle report i made this parameter under user parameter and made my SQL statemet where i included in where clause my parameter (:p_dep_no) .
    When i run oracle forms and press this button i get popup screen which asks me to enter this user parameter....
    My question is - how i can make it all automaticly ... that i didn't need to write (:p_dep_no) manualy, but report could get this parameter from oracle forms and then show me only queried report ....
    Plz help

    i have similar code already wroten to button, but when i push button and report is opening, i get popup report parameter form screen and it asks me to write parameter value....
    here i have (when-button-pressed) code :
    declare
         pl_id ParamList;
    begin
         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,'par_report',TEXT_PARAMETER, :registry_id);
         RUN_PRODUCT(REPORTS, 'C:\Oracle\DS6i\BIN\reg_atskaite_vienam.rdf',SYNCHRONOUS,runtime,FILESYSTEM,'pl_id',null);
    end;

  • Oracle Reports with Tomcat - Help needed

    How do you deploy oracle reports in Tomcat.
    ** Can we add the necessary Jar files and run the rdf files.? If so can someone please help with this.
    **What are the settings to be taken care of ?
    ** I deployed the web.war and added the jar files to the web-inf/lib .
    But when i call the report as
    hostname:port/reports/servlet/rwservlet?report=test.rdf&destype=cache
    It doesnt return anything .it gives 404 error The requested resource (/reports/servlet/rwservlet) is not available.Please help .
    Any help is appreciable ..
    Thanks again.
    JM

    Phani-
    I have developed reports that run other reports in 9i and10g. I would have a "main" report that I would call from Forms (or HTMLDB). This "main" report would run multiple other reports. I used the report built-in procedure SRW.RUN_REPORT("report=report2.rdf parameter=XX") in the After Parameter Form trigger of the main report to call the other reports.
    I hope this helps,
    Dan

Maybe you are looking for