How to avoid this?

Hi
i'm calling reprots from the forms.My problem is we are calling 3 reports at a time i,e one after the other, this will works fine in report 5 for screen but in 10g this will overlap all the output to a single pdf file (here i'm using cache)so that i'm getting only the third file.
how to avoid this? so that i can have 3 diffrent pdf files or one after the other if first close second open,second close third open.
please help me,
thanks and regards
vishwa

IF :BLK_MAIN.CKB_REP7 = 1 THEN
report_id:=FIND_REPORT_OBJECT('Mast03');
RUN_REPORT_OBJECT_PROC(report_id,
SERVER_NAME,
'pdf',
CACHE,
'Mast03',
'paramform=no PDFCOMP=0 EXPIRATION=120 desformat=pdf P_COMP_CODE='||:GLOBAL.G_COMP_CODE||' '||
'P_UNIT_CODE='||:GLOBAL.G_UNIT_CODE||' '||'P_TRUST_CODE='||:GLOBAL.G_TRUST_CODE,
IP_ADDRESS);
END IF;
IF :BLK_MAIN.CKB_REP6 = 1 THEN
report_id:=FIND_REPORT_OBJECT('Mast05');
RUN_REPORT_OBJECT_PROC(report_id,
SERVER_NAME,
'pdf',
CACHE,
'Mast05',
'paramform=no PDFCOMP=0 EXPIRATION=120 desformat=pdf P_COMP_CODE='||:GLOBAL.G_COMP_CODE||' '||
'P_UNIT_CODE='||:GLOBAL.G_UNIT_CODE||' '||'P_TRUST_CODE='||:GLOBAL.G_TRUST_CODE,
IP_ADDRESS);
END IF;
IF :BLK_MAIN.CKB_REP1 = 1 THEN
report_id:=FIND_REPORT_OBJECT('Mast04');
RUN_REPORT_OBJECT_PROC(report_id,
SERVER_NAME,
'pdf',
CACHE,
'Mast04',
'paramform=no PDFCOMP=0 EXPIRATION=120 desformat=pdf P_COMP_CODE='||:GLOBAL.G_COMP_CODE||' '||
'P_UNIT_CODE='||:GLOBAL.G_UNIT_CODE||' '||'P_TRUST_CODE='||:GLOBAL.G_TRUST_CODE,
IP_ADDRESS);
END IF;
In the above code,3 check box are like :BLK_MAIN.CKB_REP7,:BLK_MAIN.CKB_REP6,:BLK_MAIN.CKB_REP1 which end user selects(he can choose any one or all three).If select all 3 the report masto4 only comes,mast05,mast03 also
comes but those pdf's are overlaped from the report mast05.
But in the earlier version of forms and reports, if close the first report then second will come and like that.

Similar Messages

  • My macbook keeps asking me to use an administrator and their password to continue but nobody seems to know who is the administrator for this computer...does anyone know how to avoid this this or figure out who the administrator is?

    My macbook keeps asking me to use an administrator and their password to continue but nobody seems to know who is the administrator for this computer...does anyone know how to avoid this this or figure out who the administrator is?

    Lynne130,
    to figure out which users have administrative privileges, open the Users & Groups pane of System Preferences; each user other than the Guest User will be shown with a description of either “Admin” or “Standard”. It’s typical for the first user created on a Mac to be an administrative user.

  • Why do all the programs open when the mini is turned on, and how to avoid this?

    why do all the programs open when the mini is turned on, and how to avoid this?

    Open System Preferences > Users & Groups then select the Login Items tab.
    Remove all apps listed there.
    And check /Library/StartupItems
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    /Library/StartupItems
    Click Go then move all items from the StartupItems folder to the Trash.

  • After adding MIME type in sharepoint server, file click opens a popup for file to open as readonly or edit, How to avoid this popup

    After adding MIME type in sharepoint server,
    File click opens a popup for file to open as readonly or edit, How to avoid this popup
    Popup Details:
    You are about to open --> File Details
    How would you like to open --> ReadOnly, Edit
    OS: Window 7
    Jagadish

    this is likely caused by the library requiring check-out/check-in. For a file to be editable, the file needs to be checked out.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • After writing into serial port, the same message gets bounced back into the Inqueue also. If anyone know how to avoid this, please rpely.

    Hi,
    After writing into serial port, the same message gets bounced back into the Inqueue also. If anyone know how to avoid this, please reply.
    Thanks,
    Ganesh

    If you disconnect the cable going to the serial device, do you still get the echo? If so you have something going on in the port setup. If disconnecting the cable stops the echo then the device you're talking to is doing it - which would be my bet. One thing to check is whether this might not be normal operation. I have seen devices that if a command was successful, it simply echo'd back the command string you had sent. Also many serial devices have setting for specifying whether they are to echo commands.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Hi. My Ipad2 is being reseted each 1 minut of use and then I found this description "resetcounter(date and time).plist". Someone knows what this means and how to avoid this? Many, many thanks. iPad 2

    Hi. My Ipad2 is being reseted each 1 minute of use and then I found this description "resetcounter(date and time).plist". Someone knows what this means and how to avoid this? Many, many thanks.
    iPad 2

    Try resetting your device by holding down both the home and lock buttons for ~10 seconds or until the device restarts, ignoring the power slider. 

  • How i avoid this window and directly fetched date

    hi master
    sir i have three options button when i select anyone then my query change and fatch new data
    but before fetching data system show new windows with this message
    Do you want to save the changes you have made ?
    with yes / no /cancel button
    sir how i avoid this window and directly fetched date
    or how bypass this message
    please give me idea

    bro, when u execute the query to fetch records it tries to validate the form and pops an alert message. if u want to avoid it do this
    change : execute_query;
    to: execute_query(no_validate);
    now it wont ask for validation of the previous records present on the form, but make sure such actions are not not a threat to data integrity.
    zaibi.

  • How to avoid this no read acess in EPC

    hi to all experts.
    im getting this error in Extended Program Check how to avoid this error .
    No read access to field string SWIFT

    Hi,
    Field swift was not read in program, which means field swift was not used in program.If swift was necessary use it with read access.
    Hope this helps you
    Regards,
    Rajani

  • Why Memory Manager .cpp Error.How to avoid this

    I am getting getting the attached error when developing labview program.
    Why this error is coming?
    How to avoid this?
    Attached the error screen shot
    Attachments:
    MemoryCppError.png ‏33 KB

    Hi Selvan,
    we don't know your VI, thus we don't know the cause…
    Practical advice: save often, save early!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Pluggin container makes flash player crash. all is up to date. How to avoid this?

    Question
    pluggin container makes flash player crash. all is up to date. How to avoid this?

    First, download and run the Flash uninstaller: [http://kb2.adobe.com/cps/141/tn_14157.html http://kb2.adobe.com/cps/141/tn_14157.html] . You probably want the 64-bit version. After that has run, restart your computer, and then let's download a fresh version of Flash. Try downloading and installing it from [http://fpdownload.macromedia.com/pub/flashplayer/current/licensing/win/install_flash_player_11_plugin_32bit.exe here].
    Once you have flash installed again, start Firefox up, and see if you are getting any errors. If it works, awesome, if not, let's move on.
    Start Firefox up in [[Safe Mode|Safe Mode ]] (don't select any of the checkboxes that appear). If Flash works here, then it is one of your addons which is causing a problem.
    If we are still having a problem, try [[Updating your graphics driver|Updating your graphics driver]] .
    If none of these work, read [[Troubleshooting plugins|Troubleshooting plugins]] and let me know!

  • What is Fragmentation, how to avoid this?

    Dear All,
    Please help me to get the complete documents on fragmentation and the solutions(remedies) to fragmentation in Oracle 9i and 10g.
    Thanks,
    Mahipal Reddy

    > So, how can i avoid this fragmentation?
    There is no such fragmentation on Oracle 10G when tablespaces are created as locally managed.
    In basic terms - you will only get an extend failing when the tablespace is between 99.9% and a 100% full. This is unlike Oracle v7 for example where there could be 20% free tablespace, but it is unusable.
    In other words - there are no tablespace fragmentation problems with 10G.
    Table data block fragmentation? There is not really fragmentation. There are simply used data blocks below the high water usage mark that can still be used for new rows. There are used data blocks with used space above the high water that cannot be used for new rows. The PCTUSED and PCTFREE parameters govern these high and low water marks.
    The important factors here are data block size, sizes of rows and the sizes of the PCTFREE and PCTUSED. An additional factor could be how bulk inserts are handles for example (as direct path inserts or not).
    Having a table that has allocated for example 1GB of space, and is only using 800MB of that space, is not an error or a problem or a sign of fragmentation. It is to be expected. And that 200MB space not used at the moment, will be used for new inserts or updates - depending on whether those data blocks are on the free list for that table or not.
    I suggest that you read about Oracle space management in the [url http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/logical.htm#i8531]Oracle® Database Concepts guide.

  • Form distribution submit button: how to avoid this or remove it when it's automatically inserted?

    I've form(s), created in Acrobat X Pro, that I want to put on a web page for download and fill in.  I tried this with FDF but... because I have a number of forms it proved very time consuming to match the FDF data to the relevant form.  I'm now trying to do this through acrobat,com and form distribution.
    Help pages for Acrobat X Pro state;
    "Home / Using Acrobat X Pro / Forms
    Setting action buttons
    Add a submit button
    When you distribute a form, Acrobat automatically checks the form. If it doesn’t find a submit button, it adds a Submit Form button to
    the document message bar. Users can click the Submit Form button to send completed forms back to you. If you don’t plan to use the
    Submit Form button created by Acrobat, you can add a custom submit button to your form."
    My form already has a submit button (whose target I changed to acrobat.com) which also submits to PayPal for payment and pops up a warning message to avoid (hopefully) double submission etc. (which works OK in the undistributed form) but the wizard doesn't detect this and inserts an additional submit button - top right, in the purple area.
    How can I avoid this or remove it?
    Acrobat X Pro
    Win 7 32 Ult

    *Image Block: https://addons.mozilla.org/firefox/addon/image-block/

  • Tricky : how to avoid this error transparent to users ?

    Hello, Oracle people !
    I probably have a very common problem / question ...
    We use third party application (called Kintana) that has some SQL queries referencing my custom Oracle views.
    Connection to Oracle via JDBC. Some of those views are also using packaged functions residing in one custom package. So when I need to change logic, I'm recompiling just PACKAGE BODY at off-hours time in production. But when next time user runs those queries via Kintana web interface they get an error :
    -- The following error is thrown by the Database:
    ORA-04068: existing state of packages has been discarded
    ORA-04061: existing state of package body "KNTA.OM_MISC_LIBRARY_PKG" has been invalidated
    ORA-04065: not executed, altered or dropped package body "KNTA.OM_MISC_LIBRARY_PKG"
    But when users refresh their screen on IE browser,
    error goes away. (probably Oracle calls it again and recompiles object restoring its valid state)
    I understand that how Oracle works,
    but I was given a task by Manager :
    "Make sure that users don't see this error !"
    (some of users are VIP, CIO, VPs and other "highly important" executives)
    So I tried to avoid this error but can't ...
    I don't know how to restore valid state of recompile package to existing user sessions without this error being seen ...
    Please HELP !!!
    thanx,
    Steve.

    I've been reluctant to tell you this since it could have some serious side effects and performance issues but you could reset the entire session package state by calling DBMS_SESSION.RESET_PACKAGE BEFORE you attempt the calls. The problem is that it resets ALL package's state information and I'm not aware of a way to do it for a single package. Unfortunately, it doesn't appear that you can call this routine after the exception occurs. For some reason, the exception seems to have to make it all the way back to the client before Oracle will acknowledge the reset.

  • Condition type value is uploaded in inventory ,how can avoid this in import

    Dear Friends,
    I am doing Import , in import pricing  having two condition type which are copy of FRB2 .
    Where i am putting Amount and vendor name.
    ex.
    1) CUSTOM VAT - AMOUNT - AND - VENDOR AS SRILANKAN CUST,
    2) CUSTOM NBT - AMOUNT - AND - VENDOR AS SRILANKAN CUST,
    Both are recoverable.
    Now my question is that what ever amount i am putting here that is going to load on inventory . But I dont want this. how to achieve this???
    Regards,
    Mahesh.

    Hi,
    Cost of  (CUSTOM VAT & CUSTOM NBT) both take to two different G./L account.In import calculation schema in M/08 ,check your CUSTOM VAT & CUSTOM NBT condition types and see account key & accrual must be assigned {say example account key FRE and accrual key FR6 & FR7 ( a copy of FR1)}
    Now use t.code M/06, select CUSTOM VAT & CUSTOM NBT condition type, go to details & select accrual flag in control data 2 TAB & keep B in condition category in control data 1 segment save. Again in OBYC , just assign FR6 accrual key with your  CUSTOM VAT G/L account  and assign FR7 accrual key with your  CUSTOM NBT G/L account  with your chart of account, valuation class & valuation modifier & save.
    Now do transaction and see both are posted to separate G/L account not added to inventory material cost.
    NOTE:
    Cost of  (CUSTOM VAT & CUSTOM NBT) can post Material Inventory Account :
    Use t.code M/06, go to details of CUSTOM VAT & CUSTOM NBT condition types & keep BLANK in condition category in control data 1 segment and do not select accrual flag in control data 2 TAB  for both condition types & save. Do not keep / assign any account key & accrual key are assigned {Keep BLANK} to both CUSTOM VAT & CUSTOM NBT condition types in import calculation schema in M/08.
    Regards,
    Biju K

  • What it this and how to avoid this ?

    Some times when I compile a form a 'new applet start' and a new proccess is running on my computer. this proccess is :
    /usr/lib/jvm/java-1.4.2-ibm-1.4.2.0/jre/bin/java.bin -Dmozilla.workaround=true -Xbootclasspath/a:/usr/lib/jvm/java-1.4.2-ibm-1.4.2.0/jre/lib/javaplugin.jar -Djavaplugin.lib=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.0/jre/bin/libjavaplugin_jnigcc3.so -Djavaplugin.nodotversion=142
    this proccess don't kill when I finish to compile the form, and in the next form again it is running on my computer. The fact is = after compile various forms, a high number of this procces are aliving in my computer.
    Then I need to restart my comp to liberate the memory and the cpu.
    ¿What I can do to avoid this behavior?
    Im working with Linux RED-HAT 3 AS/ES, and Designer 10G.
    thanks in advanced.
    Regards.

    What application is set to open PDF files? If you CNTRL click on the file and open with Preview does the problem occur?
    If not change the default application to open PDF files to Preview.
    You can do this by highlighting the file and either use CMD i or Get Info , this will open a window with the info on the file with an option to change the application that opens the file.
    That's all I can think of.

Maybe you are looking for

  • Animated Gif Problem

    Greetings I would appreciate some help. I am new at creating animated gif's, and am experiencing a problem with them when I try to view them in a browser. I am working in Fireworks 2004, the following is what I do. Create first frame. Insert simple a

  • Importing Songs from iPod after hard drive failed

    My hard drive failed. Fortunately all of my songs were backed up on my iPod. Got a new computer and can't figure out how to get the songs from my iPod back to my computer. Some songs were purchased from iTunes, some from CDs. I tried the import funct

  • Photoshop CS1 wont open anything - big issues!

    Hi Photoshop has started to do an odd thing ...and I am in crisis as I am a photographer and kind of need it! It will not open ANY image file, of any size, or any time via any opening method - double clicking on the file, dragging onto the dock icon,

  • Oracle Jdeveloper error on Oracle Bigdata Lite Virtual Machine

    Hi All, I am using Oracle big data lite virtual machine from the following link: Oracle Big Data Lite Virtual Machine. I am trying to practice the tutorial at the following link: http://www.oracle.com/technetwork/topics/bigdata/articles/intro-to-orac

  • Same code, different result

    I have been using Javascript to create popups in Creator using the onclick property of a button or hyperlink. Today any popups created fail with the message: HTTP Status 500 - type Exception report message description The server encountered an intern