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;

Similar Messages

  • 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."

  • 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.

  • Requirement with Oracle report builder

    Hi All,,
    I had a requirement like this...i am very new to Oracle report builder tool and Oracle APPS
    i need to develop a sample report in this format.......please help me
    which tables i need to use??
    i know how to create user parameters,field columns...etc i have 50% knowledge on Oracle report builder

    You can make start with
    Oracle Reports Tutorial...
    Here few link...
    1. Tutorial 1
    2. Basic--[2] Oracle Reports 10g Tutorials
    3. About Oracle Report 10g: Triggers in Report Data Source and Report Style
    Hope this helps
    hamid

  • 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

  • Get error while Integrating with Oracle's Enterprise User Security

    Hi,
    I am trying to create an Oracle Enterprise User integrating with OVD and MS Active Directory.
    I am following all the steps in Integrating with Oracle's Enterprise User Security.
    In the documentation section: "Configuring Oracle Virtual Directory for the Integration"
    I have applied the steps successfully until:
    Update and load the entries into the Local Store Adapters by performing the following steps:
    I have successfully extended the Oracle Virtual Directory schema with the loadOVD.ldif
    However I am getting errors in the next step: Update realmRoot.ldif to use your namespaces
    The next step states the following:
    Update realmRoot.ldif to use your namespaces, including the dn, dc, o, orclsubscriberfullname,
    and memberurl attributes in the file. If you have a DN mapping between Active Directory and
    Oracle Virtual Directory, use the DN that you see from Oracle Virtual Directory.
    The realmRoot.ldif file is located in ORACLE_VIRTUAL_DIRECTORY_HOME/eus,
    where ORACLE_VIRTUAL_DIRECTORY_HOME represents the location where Oracle Virtual Directory is installed.
    The realmRoot.ldif file contains core entries in the directory namespace that Enterprise User Security queries. The realmRoot.ldif file also contains the dynamic group that contains the registered Enterprise User Security databases to allow secured access to sensitive Enterprise User Security related attributes, like the user's Enterprise User Security hashed password attribute.
    Load your domain root information in the realmRoot.ldif file into Oracle Virtual Directory using the following command:
    ldapmodify -h Oracle_Virtual_Directory_Host –p OVD_Port -D cn=admin -w Admin_Password -v -a –f realmRoot.ldif
    When I run the ldapmodify command I get the following error:
    add dc:
    testldap
    add objectclass:
    top
    domain
    domainDNS
    adding new entry DC=testldap,DC=local
    ldap_add: Operations error
    ldap_add: additional info: LDAP Error 1 : null
    The actual realmRoot.ldif looks like this:
    # Please uncomment the following one line if you are importing this
    # LDIF file via OVD Manager or OVD Server's ldapmodify tool.
    #version: 1
    #dn: dc=com
    #dc: com
    #objectclass: domain
    dn: DC=testldap,DC=local
    changetype: add
    dc: testldap
    #o: subarashii
    objectclass: top
    objectclass: domain
    objectclass: domainDNS
    #objectclass: orclSubscriber
    #orclsubscriberfullname: subarashii
    #orclVersion: 90400
    # If your domain structure has more layers than dc=subarashii,dc=com,
    # for example, it's dc=us,dc=subarashii,dc=com, you will need to load
    # the following ldif entry/entries too.
    # Uncomment out the following, if required.
    #dn: dc=us,dc=subarashii,dc=com
    #orclversion: 90400
    #orclsubscriberfullname: us
    #objectclass: domain
    #objectclass: top
    #objectclass: orclSubscriber
    #dc: us
    # Adding EUSDBGroup entry
    # Modify the memberurl attribute and replace it with your own domain name
    #dn: cn=EUSDBGROUP,dc=subarashii,dc=com
    #cn: EUSDBGROUP
    #memberurl:ldap:///dc=subarashii,dc=com??sub?(&(objectclass=orclService)(objectclass=orclDBServer))
    #objectclass:groupofuniquenames
    #objectclass:groupofurls
    #objectclass:top

    Did you ever get your questions answered about the realmRoot.ldif file? Did you manage to configure a successful integration of OVD with EUS? I am battling with trying to get Oracle Virtual Directory integrated with Enterprise User Security, but every step I take in Chapter 7 of the OVD manual fails in some way, and the instructions are often vague. I am not sure how to modify the realmRoot.ldif file. Is there any improved documentation on this? I have logged a Service Request, but not getting any help. Any resources or documentation you know of that provides better guidance would be much appreciated. I am way behind my schedule now and this is a very frustrating exercise.
    Thanks.

  • Urgent - Is it possible with Oracle Reports

    Hi Friends,
    I want to generate a report with multiple databases.
    I have some part of data in oracle data base and some in sql server.
    How can I generate a report with oracle data and sql server data at a time ?
    How can I connect to both the dB's simultaneously ?
    Is it possible with oracle reports ?
    If not what is the other tool in oracle products ?
    thanks for your help.
    Have a good day.
    srini

    You should use a dblink or the heterogenous connection

  • Generation of pdf forms with Oracle Report

    I would like to generate editable pdf with Oracle Reports. That means I need clickable check boxes in the output.
    Any suggestions or hints?
    Thanks in advance.
    Uwe

    Hi Uwe
    Reports does not currently have the capability to create PDF files with form fields.
    Regards
    The Oracle Reports Team

  • Help with oracle 11g pivot operator

    i need some help with oracle 11g pivot operator. is it possible to use multiple columns in the FOR clause and then compare it against multiple set of values.
    here is the sql to create some sample data
    create table pivot_data ( country_code number , dept number, job varchar2(20), sal number );
    insert into pivot_data values (1,30 , 'SALESMAN', 5000);
    insert into pivot_data values (1,301, 'SALESMAN', 5500);
    insert into pivot_data values (1,30 , 'MANAGER', 10000);     
    insert into pivot_data values (1,301, 'MANAGER', 10500);
    insert into pivot_data values (1,30 , 'CLERK', 4000);
    insert into pivot_data values (1,302, 'CLERK',4500);
    insert into pivot_data values (2,30 , 'SALESMAN', 6000);
    insert into pivot_data values (2,301, 'SALESMAN', 6500);
    insert into pivot_data values (2,30 , 'MANAGER', 11000);     
    insert into pivot_data values (2,301, 'MANAGER', 11500);
    insert into pivot_data values (2,30 , 'CLERK', 3000);
    insert into pivot_data values (2,302, 'CLERK',3500);
    using case when I can write something like this and get the output i want
    select country_code
    ,avg(case when (( dept = 30 and job = 'SALESMAN' ) or ( dept = 301 and job = 'SALESMAN' ) ) then sal end ) as d30_sls
    ,avg(case when (( dept = 30 and job = 'MANAGER' ) or ( dept = 301 and job = 'MANAGER' ) ) then sal end ) as d30_mgr
    ,avg(case when (( dept = 30 and job = 'CLERK' ) or ( dept = 302 and job = 'CLERK' ) ) then sal end ) as d30_clrk
    from pivot_data group by country_code;
    output
    country_code          D30_SLS               D30_MGR               D30_CLRK
    1      5250      10250      4250
    2      6250      11250      3250
    what I tried with pivot is like this I get what I want if I have only one ( dept,job) for one alias name. I want to call (30 , 'SALESMAN') or (301 , 'SALESMAN') AS d30_sls. any help how can I do this
    SELECT *
    FROM pivot_data
    PIVOT (SUM(sal) AS sum
    FOR (dept,job) IN ( (30 , 'SALESMAN') AS d30_sls,
              (30 , 'MANAGER') AS d30_mgr,               
    (30 , 'CLERK') AS d30_clk
    this is a simple example .... my real life scenario is compliated with more fields and more combinations .... So something like using substr(dept,1,2) won't work in my real case .
    any suggestions get the result similar to what i get in the case when example is really appreciated.

    Hi,
    Sorry, I don't think there's any way to get exactly what you requested. The values you give in the PIVOT ... IN clause are exact values, not alternatives.
    You could do something like this to map all alternatives to a common value:
    WITH     got_dept_grp     AS
         SELECT     country_code, job, sal
         ,     CASE
                  WHEN  job IN ('SALESMAN', 'MANAGER') AND dept = 301 THEN 30
                  WHEN  job IN ('CLERK')               AND dept = 302 THEN 30
                                                                     ELSE dept
              END     AS dept_grp
         FROM     pivot_data
    SELECT     *
    FROM     got_dept_grp
    PIVOT     (     AVG (sal)
         FOR     (job, dept_grp)
         IN     ( ('SALESMAN', 30)
              , ('MANAGER' , 30)
              , ('CLERK'   , 30)
    ;In your sample data (and perhaps in your real data), it's about as easy to explicitly define the pivoted groups individually, like this:
    WITH     got_pivot_key     AS
         SELECT     country_code, sal
         ,     CASE
                  WHEN  job = 'SALESMAN' AND dept IN (30, 301) THEN 'd30_sls'
                  WHEN  job = 'MANAGER'  AND dept IN (30, 301) THEN 'd30_mgr'
                  WHEN  job = 'CLERK'    AND dept IN (30, 302) THEN 'd30_clrk'
              END     AS pivot_key
         FROM    pivot_data
    SELECT     *
    FROM     got_pivot_key
    PIVOT     (     AVG (sal)
         FOR     pivot_key
         IN     ( 'd30_sls'
              , 'd30_mgr'
              , 'd30_clrk'
    ;Thanks for posting the CREATE TABLE and INSERT statements; that really helps!

  • I need help with oracle

    Hi,
    I need some help... if someone can help its great.
    I need to make a statement in Oracle SQL that read data from a file and insert in a Oracle Database ... if someone can show me the syntax of it i appreciate..
    Thanks

    Okay, I see you followed the advice in that other thread and started a new post for you question. Congratulations. Your next lesson in forum etiquette is to give your posts a more relevant subject. Pretty much everybody who posts here needs help with oracle; if they need help with cooking catfish they've come to the wrong place.
    It that other thread I suggested using SQL*Loader or External Tables might be a more suitable solution. Find out more.
    Cheers, APC

  • Starting with oracle Reports

    Hi
    I am working on sql server reporting services with oracle 10g DB.I would like to learn oracle reports.I have just got it installed in my vista PC
    Ps guide me with links/docs so that i can get started with oracle reports.
    at the outset i would like to know the bleow
    can i use a procedure returning a refcursor to run a report?
    if so how?
    Regards,

    Hello,
    You'll find many doc, examples, demos ... on OTN :
    http://www.oracle.com/technology/products/reports/index.html
    http://www.oracle.com/technology/documentation/reports.html
    http://www.oracle.com/technology/products/reports/htdocs/search.html?cat=ALP&col=ALC&submit=Search
    For the Ref Cursors :
    Oracle® Reports Building Reports
    10g Release 2 (10.1.2)
    B13895-01
    40 Building a Paper Report with REF CURSORs
    Regards

  • DB2 OS400 Connection with Oracle Reports 9i with Windows XP

    Dear Friends
    I have a valid ODBC connection of DB2 OS400 and i am using the same with Crystal Report i want to use the same connection with oracle Reports 9i & Forms 9i.
    The response will be highly appriciated.
    Rgds
    Muhammad Tahir Khan

    duplicate post.
    DB2 OS400 Connection with Oracle Reports

  • IPP with Oracle Report

    Hi all,
    I got reports error out when using IPP printer. It bursts out REP-177 and REP-713 errors in fact. Could anybody advice how-to use IPP printer with Oracle Report ?

    user9066239 wrote:
    Hi all,
    I got reports error out when using IPP printer. It bursts out REP-177 and REP-713 errors in fact. Could anybody advice how-to use IPP printer with Oracle Report ?Same Answer. 10g not supported.
    It's introduced in 11g.

  • Where is the forum for Fusion Report Service with Oracle Reports?

    Where is the forum for Fusion Report Service with Oracle Reports?

    You could try this one, maybe post your question.

  • DB2 OS400 Connection with Oracle Reports

    Dear My Friends
    I want to prepare report by DB2 OS AS400 on Oracle report how i Connecte DB2 Database with Oracle Report.
    Tahir

    Hello,
    To access "non oracle DB" :
    Reports 6i : OCA + ODBC driver
    http://www.oracle.com/technology/products/forms/pdf/275201.pdf
    Using Oracle® Forms Developer, Oracle® Reports Developer and the Oracle Open Client Adapter to access ODBC Data sources
    Reports 9.0.x / 10.1.2 : JDBC
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_jdbcpds.htm
    Oracle® Application Server Reports Services Publishing Reports to the Web
    10g Release 2 (10.1.2)
    B14048-02
    9 Configuring and Using the JDBC PDS
    Regards

Maybe you are looking for