Reports triggering

when a trigerred report executes, blank pages print, however when the smae report is run from the menu system it is ok. Have already applied patch 3a. any tips

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Grant Duncan ([email protected]):
when a trigerred report executes, blank pages print, however when the smae report is run from the menu system it is ok. Have already applied patch 3a. any tips<HR></BLOCKQUOTE>
Try passing the parameter BLANKPAGES = NO

Similar Messages

  • Report triggers

    Hello,
    I would like to create a trigger on "before report" to create several views. I have tried putting in some create view code into the pl/sql editor but keep getting errors.
    Can somebody give me a quick example of what the code should look like within the code block.
    function BeforePForm return boolean is
    begin
    return (TRUE);
    end;
    Thanks.

    Hi Jay,
    You should be able to put any valid PL/SQL code in the report triggers. Pl check the pre-requisites (ike privileges needed) and the examples of creating materialized views here:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_63a.htm#2064547
    Navneet.

  • Using stored packages in report triggers

    Hi,
    -- Among other things, my stored packages "per7x" is
    -- capable of creating a rather complex cross-table.
    -- A particular function returns this as a pl/sql table
    -- of integers (index by binary_integer).
    -- Another sub-program of the package creates a persistent
    -- pl/sql table representing the cross-table. This is the
    -- procedure "init_main" that has some parameters with
    -- default values. The function "get_main_value" returns
    -- a particular row/column value. (Of course, the table
    -- persists only for the duration of the database session.
    -- The following code runs fine from SQL*Plus
    -- (per7x.init_main takes a few seconds to complete, then,
    -- the next statement delivers the expected result):
    set serveroutput on;
    begin
    per7x.init_main;
    dbms_output.put_line(per7x.get_main_value(1,1));
    end;
    -- But now for some serious business. I want to retrieve
    -- these values from within a Developer/2000 Reports
    -- application. I figured calling "per7x.init_main" at
    -- the BeforeReport trigger and I would call
    -- "per7x.get_main_value" at the FormatTrigger level.
    -- But... calling the initialization procedure, as in:
    function BeforeReport return boolean is
    begin
    per7x.init_main;
    return (TRUE);
    end;
    -- results in:
    -- R30DES32 caused an invalid page fault in
    -- module PLS234.DLL at 0137:0050827c.
    -- and Reports will be shut down.
    -- the message:
    -- REP-1401: 'beforereport'. Fatal PL/SQL error occured.
    -- occurs when attempting to make a local copy of the
    -- pl/sql table instead of using the persistent structure.
    -- What goes wrong here??
    -- I am connected to: Oracle Workgroup Server 7.3.2.3.1
    -- with the Distributed Option, PL/SQL version 2.3.2.3.0
    -- (Windows NT 4.0)
    -- I use Developer/2000 version 2.0 (Reports 3.0.4.6.3)
    -- on Windows 95,
    -- SQL-Plus is version 3.3.4.0.0
    Any help would be very much appreciated,
    Paul Ramsteijn,
    Renal Replacement Registry of the Netherlands (RENINE).
    E-mail: [email protected]
    null

    hi,
    i'm back.. :)
    i attempted to use the following pl/sql code in a pl/sql process.
    begin
      for i in 1..apex_application.g_f01.count
      loop
        apc_user_pkg.update_user_role ( p_user_role_id     => apex_application.g_f02(i)
                                       ,p_start_on         => apex_application.g_f05(i)
                                       ,p_end_on           => apex_application.g_f06(i)
                                       ,x_last_updated_on  => apex_application.g_f09(i)
                                       ,x_last_updated_by  => apex_application.g_f10(i) );
      end loop;
    end;however, it doesn't seem to be working properly.. it doesn't update the table.. after the page refreshes, the old data comes back and not the new one.
    what am i doing wrong?
    regards,
    allen

  • Before report triggers in crystal

    Post Author: vdm
    CA Forum: Data Connectivity and SQL
    Hi,
    I need to develop a report the data for which cannot be easily selected from tables using a sql statement. It needs to first call a stored procedure which would populate some temp tables and crystal would then report from these temp tables.I am from Oracle reports background which has a before report trigger in which you could put any of this pre-processing but not sure if crystal (CR XI) has the equivalent of that.what I did try with crystal was this :- 1. On my main report I have this query - select * from temp......2.I have put a sub-report in my Report Header section. This sub-report calls a sql server stored procedure which populates the temp table.But what I am finding is that before the sub-report is called crystal has already executed the select statement -which is still empty at this stage.Question:1.What I am trying to do is just not possible to do in crystal ?2. Or is there a way that I can stop crystal from executing the main select statement until the sub-report has been called ?thanks in advanceVishal 

    Post Author: bettername
    CA Forum: Data Connectivity and SQL
    Why not just use a single Command object as your datasource, and have it contain the following sql:
    exec sp_your_stored_procedure
    --that should have generated your temp_table
    select * from your_temp_table
    drop table your_temp_table --or not, depending on your preference...

  • Erorr handling in Report triggers

    Hi all!
    I don't know if this is the right place to post this question, but I guess it goes as well here as anyplace else...
    I've got a problem with a report I'm building using Reports Developer 6i. In the after parameter form trigger I want to check the in parameters and adjust them to fetch the correct data. To do this I use a cursor to find a unit using the date as in parameter. However, sometimes when I enter the wrong in parameters, I don't find any units for the specified date. In that case I would like to show an empty report, but in stead, the report exits with an error ORA-01403 message. I tried to avoid this using a WHENEVER SQLERROR CONTINUE; statement, but then the trigger wouldn't compile. Are there any other solutions to this?
    regards
    / Anders

    Hi,
    First Of All, WhenEver SqlError caluse won't work on d2k reports as its compatible only to SQL envoirnment.
    To overcome your problem, try the following :-
    1) Handle exceptions where-ever SELECT clause is being used
    - Except Data models
    Begin
    Select .....
    Into .....
    From
    Where ......;
    EXCEPTION
    When NO_DATA_FOUND Then Null;
    When OTHERS Then
    <<You may want to display Oracle Error Message >>
    End;
    WHEN NO_DATA_FOUND Exception will trap the error 0RA-1403 and the NULL clause will allow the program to continue
    Ta
    Shailender Mehta

  • Referencing translated boilerplates from TranslationHub in reports triggers

    Hi!
    We have following problem: We use TranslationHub to translate our reports. Despite in TranslationHub are shown more objects than boilerplates it seems to translate only boilerplates.
    So my idea is to define all required text for trigger as boilerplate in a frame with format trigger, which hide this on report.
    But I don't find a possibility to reference the text of an boilerplate! Does this not exist or do I miss something?
    regards

    I've managed to solve this, I believe. Don't experience any crashes and X startes in tty7, as it should.
    I've moved this line to the end of my inittab instead of the beginning.
    x:5:once:/bin/su shahin -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"
    So my inittab looks like this now.
    # /etc/inittab
    # Runlevels:
    # 0 Halt
    # 1(S) Single-user
    # 2 Not used
    # 3 Multi-user
    # 4 Not used
    # 5 X11
    # 6 Reboot
    ## Only one of the following two lines can be uncommented!
    # Boot to console
    #id:3:initdefault:
    # Boot to X11
    id:5:initdefault:
    rc::sysinit:/etc/rc.sysinit
    rs:S1:wait:/etc/rc.single
    rm:2345:wait:/etc/rc.multi
    rh:06:wait:/etc/rc.shutdown
    su:S:wait:/sbin/sulogin -p
    # -8 options fixes umlauts problem on login
    c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
    c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
    c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
    c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
    c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
    c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
    # Hypervisor Virtual Console for Xen and KVM
    #h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux
    ca::ctrlaltdel:/sbin/shutdown -t3 -r now
    # Example lines for starting a login manager
    #x:5:respawn:/usr/bin/xdm -nodaemon
    #x:5:respawn:/usr/sbin/gdm -nodaemon
    #x:5:respawn:/usr/bin/kdm -nodaemon
    #x:5:respawn:/usr/bin/slim >& /dev/null
    x:5:once:/bin/su shahin -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"
    # End of file
    Last edited by shahin (2010-04-14 10:57:47)

  • Layout issue while trying Migrate Oracle Report to XML publisher Reports

    Hi
    I am trying to Convert Seeded Oracle Reports (rdf) to BI Publisher reports, in doing so encounter layout issues. The layout of the RTF , PDF or HTML generated by BI Publisher is different form the text, PDF or HTML outputs generated by the concurrent report. The problem with the BI Publisher template and out put
    Is, the lay out is getting distorted .
    Steps to archive the migration :
    -     download the rdf from the server to local m/c.
    -     execute Forms 9i Util rwconverter to generate a xml
    -     use the oracle.apps.xdo.rdfparser.RTFTemplateGenerator API to generate a RTF template of the report layout
    -     Then use this template to generate a XSL via oracle.apps.xdo.template.RTFProcessor API
    -     The Apply the XSL on the XML data output of the report using oracle.apps.xdo.template.FOProcessor to generate RTF , PDF & HTML files.
    Name of the Report used for migration “FSG - Report Detail Listing” , responsibility GL super User. This was just a random report we picked-up for trial.
    The layout of these files seems to distorted than the layout of the original report output as generated by the rdf report.
    Pls suggest some means to resolve this or any pointers towards what causing this could be of help.
    -     Shudipto

    The process of "converting" an old Oracle Reports rdf into a BIP report is more akin to writing a brand new report in BIP than to what most people would consider a true conversion.
    The conversion routine outlined by Oracle just gives you a starting point for converting RDF layouts into BIP, and nothing more. In regards to the data define it does somewhat better generating your queries and XML layout (but honestly, that is the easy part), but even for the data define it will lose your formula columns as well as report triggers.
    I have used the converter on several dozen rdf files and I have yet to see one that is better than 10-20% ready for use after the conversion process.
    I would strongly suggest that you only convert the reports that you have to convert (for enhancements, modifications, etc). If it ain't broke in old Oracle Reports, dont' try to fix it in BIP.
    Scott

  • Bursting Program PDF Fonts different from Report Program PDF

    We have designed a new XML Publisher report which uses bursting mecahnism to send out the output pdf to supplier. The report rdf completes successfully and generates the pdf with right fonts (Font Mapping configured in XML Publisher Administrator). AfterReport trigger of this report triggers the bursting program. This program sends out the pdf to the right recepients. But this pdf that comes through mail has different fonts then what it was in the output of first program. Can some one guide on how to get the same pdf fonts through bursting email file that is similar to the one that was generated through Report Program. Any help will be highly appreciated.
    Thanks,
    Mohammadi

    Anyone who can throw light on this?
    Thx

  • How to use a stored procedure in oracle reports

    How to use a stored procedure in oracle reports

    Dear,
    In report triggers you can write your procedure/functions or call it like
    function AfterPForm return boolean is
    begin
    myprocedure(:mydate);
    return (TRUE);
    end;
    Thanks
    Jamil

  • Using Text_IO in Oracle Reports 6.0

    Hi.
    I ask again, perhaps someone can help me:
    I want to add a function to a column to write every row to a file (such as a .log-file).
    In Example i can simply write into a file like this:
    "Trigger - after parameter form":
    file_out Text_IO.File_type;
    BEGIN
    file_out:= Text_IO.Fopen('log.txt', 'w');
    Text_IO.put (file_out,'test');
    Text_IO.Fclose(file_out);
    END;
    But i want to write to this file from the function, placed in a column.
    So i cant open this file at every row (open, write, close)...
    Perhaps someone can tell me, how i can do this: To open a File before Report, write into the File from the function and close the file after the report.
    Thank you again.

    Hello,
    You need to create a client-side PL/SQL package as Program Units for your report. In this package you can define a package variable to hold and share your file handle, and create functions to open, write, and close the file. You can call these functions from the Before Report, Formula, and After Report triggers in your report.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Strange issue in Report Builder

    Hi All,
    I am facing a strange issue in Report Builder.
    I am having a report which is currently in production. when i am opening that report and just saving it without making any changes, then also the size of the report is reducing from 238 to 204 kb.
    When i am executing this report in production then it is giving me the error "Invalid Body size"
    Please hlep me or else have to ask God to save me.
    Thanks
    Aryan

    Hi Hussien,
    I tried thart solution but it not worked. i put some debug statement in Before Parameter form, after Parameter form, before report triggers. When i am running that report i am getting the debug statement of Before and After Parameter triggers but it is failing somewhere in Before Report Trigger.
    I removed everything from Before Report Trigger and still the result is same "Invalid Body Size".
    Please Hussien give me a some pointer which stage is processed between After Parameter Form trigger and Before Report Trigger.
    Thanks
    Aryan

  • Why same query runs on isqlplus but not in Forms/Reports trigger

    Hi,
    I have one query in which I extract one column with parent table join if I run same query on isqlplus prompt it works but if I run same on Forms/Reports trigger it says found "select" where something else expected.
    below is an example .
    select em1.mreading, em1.grid_code,
    (select em.mreading from energy_mreading em where em.grid_code=em1.grid_code and em.transformer_code=em1.transformer_code
    and em.bus_bar=em1.bus_bar and to_date(to_char(em.r_date,'dd/mm/yyyy'),'dd/mm/yy') = to_date('02/01/07' ,'dd/mm/yy') - 1)
    as Yreading
    from energy_mreading em1
    where to_date(to_char(em1.r_date,'dd/mm/yyyy'),'dd/mm/yy')= to_date('02/01/07' ,'dd/mm/yy')
    Any one can help me, is there any restriction/limitations in Forms/Reports triggers.
    Thanks, Khawar.

    In forms and cursors you can not use scalar subqueries as you do. You have to use joins!
    select
         em1.mreading
        ,em1.grid_code
        ,em.mreading as Yreading
    from
        energy_mreading em1
       ,energy_mreading em
    where 1=1
        and trunc(em1.r_date) = to_date('02/01/2007','dd/mm/rrrr')
        and em.grid_code = em1.grid_code
        and em.transformer_code = em1.transformer_code
        and em.bus_bar = em1.bus_bar
        and trunc(em.r_date) = trunc(em1.r_date) - 1
    Try this, hope it works.

  • How to search for a text string in Reports designer?

    In iDS reports (10gR2), I want to search from top down for a text string was used in one of the queries or triggers. In Forms, you can do it, in reports the related menu item is always seems to be grayed out no matter what item I pick in the Navigator. Is it doable or not? If yes, then how. I don't wanna open each program piece including the queries in the data model, report triggers or program units and look for (by visual scanning) for the text I am searching for. This is crazy. There must be a way to do it. Thanx.

    That is pretty bad for such an expensive report development program. The forms allows it, I wonder why Oracle did not include similar functionality in the reports developer. I knew the conversion to ascii, but during development it is pain in the ... just to search for a simple text string in the related program units in the report, to convert to ascii, do the search and then go back to the developer. Anyway, if that is the only way, there is nothing we can do I guess :(

  • Stored procedure in reports

    hi all,
    Have any one used stored procedure to populate data for reports
    also publish a sample code which illustrates the above said issue

    thank u chida,
    nice reply it seems that the report triggers are of much useful.
    please reply me about the usage of the report triggers
    i can know about the utility and criticality of the triggers available in reports, also it will be useful for me in interview point-of-view in future.
    expecting a reply

  • Is there any documentation on creating basic paper reports?

    Hi - I have just started to try to create a report. We have 9i reports but don't need any of the web stuff. I only need to create reports off of our database, run them on my workstation, and print out hardcopies to give to 1 or 2 managers.
    Is there any documentation that would just teach me how to create simple reports without all the web functionality? I was trying to follow along in the Reports Builder 6i, but it seems a lot has changed since 6i and I am having trouble just trying to find the corresponding buttons in 9i.
    I need to learn how to create reports, triggers, and especially I want to learn how to rearrange the report output after it has been created. It seems very confusing to me how to do this on Paper Layout or Paper Design screen.
    Thanks for any help. I would even go buy a book if there were a good one.

    Links to all reports docs
    http://otn.oracle.com/documentation/reports_dev.html
    Oracle9i Reports Building Reports ( very extensive )
    (PDF version ) http://download.oracle.com/otn/other/general/B10310_01.pdf [ 8 MB ]
    (HTML version ) http://otn.oracle.com/products/reports/htdocs/getstart/docs/B10310_01/title.htm
    Thanks
    The Oracle Reports Team

Maybe you are looking for

  • Problem with iMac and Wireless keyboard

    The hard drive was faulty on my iMac. It took it into the AppleCare centre and they replaced the hard drive. When I got the imac back none of the function keys work on my keyboard. For example when I press F11 and F12 keys they no longer adjust my vo

  • How do I use Itunes to see what is on my ipad

    With the old version of Itunes, when I'd plug one of my kids Ipads in, it let me look at what is synching to it, and check stuff to sync or not.  I don't see where in the new version of Itunes I have that choice.  Help?

  • Updating the Leave Information (dates selected) from MSOutlook to SAP ESS

    Hi Forum,                 I had a scenario where I need to use Microsoft Outlook as an interface and the leave information selected in outlook calender should be updated to SAP ESS. Does Any one worked on similar kind of scenarios ? I would like to k

  • Exchange 2010 Receive Connector gets 530 5.7.1 Not Authenticated Error

    Hi All, I am using Exchange2010 SP2 with HT,CAS and Mail roles ( this is my test machine). I created a receive connector for Mutual TLS in which i have added remote servers with which i want to do mutual (Domain Secure Emails Transfer) and enabled TL

  • Centro desktop software won't load

    I cannot get the software for my new Centro GSM to load properly. Any ideas? Post relates to: Centro (Unlocked GSM) This question was solved. View Solution.