Help, please! Why this code work in 6i form and does not work in forms 11g

I tried to fix this thing for weeks and for some reason that I can't understand how to operate.

Here are the error codes I get:

FRM-41219: can not find the report: invalid ID (this pop on the screen I then click on the ok button the next show at the bottom of the screen)

FRM-40738: Argument 1 of builtin RUN_REPORT_OBJECT cannot be null

Basically, this code is supposed to call a report that puts another screen pop up and display the report.

Here is the code behind the button on the form "File Print".

:OVERALL. THE_NUMBER: =: REQUEST_SEQUENCE;

IF : REQUEST_AMOUNT<100000 THEN : TEXT_ITEM83: =: request_amount;

ELSIF : REQUEST_AMOUNT> THEN 1000000 : TEXT_ITEM83: =1;   / * I think the ELSIF should be replaced with ELSE IF don't know * /.

END IF;

: TEXT_ITEM74: =:GLOBAL. THE_NUMBER;

THE_REP;

Here is the code that is behind the box of quere.

Start

: global .qry_rep_val: =: quy_rep;

: display_item78: =: global .qry_rep_val;

If: global .qry_rep_val = '3' then null;

elsif: global .qry_rep_val = 1 then

run_vba_rep1;

elsif: global .qry_rep_val = 2 then

run_report_for_last_query;

elsif: global.qry_rep_val = 4 then / * Yes, there is an extra space between the two, the 'val' and '='. Should I delete TI * /.

Call the form ('/ export/home/oracle/Middleware/Oracle_FRHome1/forms/vba_tda_qry ', HIDE, NO_REPLACE, QUERY_ONLY);

end if;

: qry_rep: = 3;

end;

I guess that the problem is in the run_report_for_last_query procedure. There will be something like run_report_object. Could you post this code?

Tags: Oracle Development

Similar Questions

  • Help, please. Screen touch dell inspiron 5559 HID-complaint does not work.

    Screen touch dell inspiron 5559 HID-complaint does not work. I have to keep this option disabled because all of a sudden he starts to feel the uncontrollable different key. Sometimes it works fine for a day, but it continues to be. I have restored the laptop to factory settings, but it did not work.  I checked the updates of drivers, but they are none.  Please help me with this. Thank you in advance.

    How do I calibrate my touch screen

    www.dell.com/.../EN

  • BlackBerry Z10 please help! m having a problem with the heat and does not

    my blackberry z10 stand up heat and my apps and setting are not open. When I click it, it redirect me to the 1st screen. even I can not open my setting too. so I can't do a securitywipe also. Help, please.

    Try a reboot first. Hold your power button for about 15 seconds, until you see BlackBerry on your screen. Don't release it before despite what may appear on your screen.

    If this solves the problem, you can reset your phone to factory specifications by using the link to BlackBerry. If I remember, once your phone is connected to the link of the button to press link Options is in the upper right and then Reload Software.

    Keep us updated on your progress.

  • Why the firefox profile is messed up and does not restore the tabs when you replace the Windows shell with something like bbLean

    I use Windows 8.1 x 64 but I can replace the Explorer bblean shell and when I do that firefox has issues with the profile such that cancel last closed tab or not to restore the tabs at startup.
    I was able to use the replacement of shell of bblean for years in previous versions of Windows, but he always had a weird behavior with firefox. Of course, I am currently in contact with bbLean developers working on the problem, but I would also like to hear what may be the cause of this.
    Thank you in advance.

    @guigs2
    Thanks for responding but I solved it somehow.
    'Replace the shell' means that I have deliberately change value in HKCU NT\CurrentVersion\Winlogon\Shell so it does not point explorer.exe but blackbox.exe.
    After the reset of my installation of windows and get rid of all programs, including firefox now I use firefox portable (not installation of vanilla from the original site) and found, I have no problem with profiles so far.

  • Why my Intel wireless adapter is disconnected and does not restore until I restart the computer?

    Very randomly while I'm connected my computer won't go to any link and said I have no connection. I then try to solve the problem and it says to turn on my wireless adapter, but button is pressed and the light is on, so I turn it works without success. Then he tells me to check my router or a modem that always works so my ISP is not the problem. When this occurs, the computer does not have network connections, and has a red x beside the bars wireless not saying no connectivity, even give me the possibility to see the available wireless networks. The problem will persist until the computer is restarted, or the windows Explorer is restarted.

    Any ideas? Thank you.

    Pavilion dv6-3225dx
    Windows 7 Ultimate House
    Intel i3 M 350
    XY980UA #ABA

    Hello:

    The latest driver for your WIRELESS Intel network card is v 13.5.0 from 04/03/11.

    If this is the driver you have, then this is the most recent.

    If this isn't the case, you can give it a try, since you have nothing to lose. You shouldn't have to put up with unstable connections. I hope that the last version of driver if you are not running currently, solve your connection problems.

    I have included two versions of ILO since you listed only you had W7...

    W7 32-bit:

    http://Downloadcenter.Intel.com/Detail_Desc.aspx?AGR=Y&DwnldID=19855&ProdId=3199&lang=eng&OSVersion=Windows%207%2c%2032-bit * & DownloadType = software % 20Applications

    W7 64-bit:

    http://Downloadcenter.Intel.com/Detail_Desc.aspx?AGR=Y&DwnldID=19856&ProdId=3199&lang=eng&OSVersion=Windows%207%2c%2064-bit * & DownloadType = software % 20Applications

    Paul

  • Good day, I get an error code 205 when I try to download adobe creative cloud desktop app, can someone help me solve this problem? Keep in mind I am not very technical, (smile).

    Good day, I get an error code 205 when I try to download adobe creative cloud desktop app, can someone help me solve this problem? Keep in mind I am not very technical, (smile).

    Hi Djseva,

    I think the error you encounter can be solved easily by following a few simple steps from the document below:

    Error downloading creative cloud applications

    If the document does not resolve the problem for you, don't hesitate to go back to Support Adobe & we will be more then happy to help you further by the following link below:

    Contact the customer service

    See you soon!

    MD

  • Could some modify this code works for vertical scrolling?

    Hello

    I am a know nothing.

    Read this discussion... http://forums.Adobe.com/message/5501696 .

    UME YOSHIOKA provided the code to control the direction of reading the direction of scrolling animation.

    It is for the horizontal scrollbar only.

    His example of it in action... http://Ciruelo.jp/js/edge/WS/windowScroll.html

    Very smart.

    Could some modify this code works for vertical scrolling?

    I know nothing and I don't know if I'm too ask.

    My attempts have failed.

    The code is

    var totalFrame = 6250;
    var stageWidth = 10000;
    var maxScrollLeft = stageWidth - $(window).width();
    var baseFrame = 250;  //for adjustment

    //control the main timeline pos by $(window).scrollLeft() pos.
    $(window).scroll(function (e) {
      var scrollLeft = $(window).scrollLeft();              // get scroll pos
      var n = totalFrame*scrollLeft/maxScrollLeft|0;        // calc frame index
      sym.stop(n+baseFrame*(1-scrollLeft/maxScrollLeft)|0); // adjustment & move frame
    });

    Thank you

    Hi, epple2013.

    in the case of ths.

    You can use ' $(window) .scroll (func) ' and ' $(window) .scrollTop () ".". "

    $(window).scroll(function (e) {
      // get scrollTop
      var scrollTop = $(window).scrollTop();
    
      // control your timeline by value of scrollTop
      if(scrollTop>100){
        //sym.play(scrollTop); etc...;
      }
    }
    
    

    Here is the sample & source:http://ciruelo.jp/js/edge/vs/vertical.html

    Best regards.

    UME.

  • Why this code give me duplicate data

    HII, all the
    Why this code give me duplicate data
    SELECT (G.NAME_1 ||' '||G.NAME_2||' '||G.NAME_3||' '||G.NAME_4) AS NAME,
                  R.RES_NUM
    FROM    GUST G , RESERVATION R,ROOM_DETAILS S,ROOMS RR
    WHERE   G.RES_NUM = R.RES_NUM
    AND     R.RES_NUM = S.RES_NUM
    AND     RR.OCCUPIED = 'Y'
    RES_NUM
    --------
    1282
    1282
    1282
    1282
    1280
    1280
    1280
    1280
    1281
    1281
    1281
    1281
    1310
    1310
    1310
    1310
    
    16 rows selected

    Try this:

    SELECT DISTINCT (G.NAME_1 ||' '||G.NAME_2||' '||G.NAME_3||' '||G.NAME_4) AS NAME,
                  R.RES_NUM
    FROM    GUST G , RESERVATION R,ROOM_DETAILS S,ROOMS RR
    WHERE   G.RES_NUM = R.RES_NUM
    AND       R.RES_NUM = S.RES_NUM
    AND       RR.OCCUPIED = 'Y'
    
  • Listener code to add a layer mask does not work...

    With the help of Photoshop CC 2014 with all updates. The following script listener code has been saved when I clicked on the button, add a layer mask to add a mask to the active layer. When executeAction is called the script fails with the following error message. Help! How can I add a layer mask to the layer? Thank you.

    : Error General Photoshop. Maybe this feature is not available in this version of Photoshop. -The command 'Make' is not currently available.

    function addLayerMask() {}

    Adds a layer mask to the layer by clicking on the

    Add the button layer mask.

    var idMk = charIDToTypeID ("Mk");

    var desc23 = new ActionDescriptor();

    var idNw = charIDToTypeID ('Nw');

    var idChnl = charIDToTypeID ('channel');

    desc23.putClass (idNw, idChnl);

    var idAt = charIDToTypeID ('At');

    var ref20 = new ActionReference();

    var idChnl = charIDToTypeID ('channel');

    var idChnl = charIDToTypeID ('channel');

    var idMsk = charIDToTypeID ("Msk");

    ref20.putEnumerated (idChnl, idChnl, idMsk);

    desc23.putReference (idAt, ref20);

    var idUsng = charIDToTypeID ("Usng");

    var idUsrM = charIDToTypeID ("rocket");

    var idRvlS = charIDToTypeID ("LVR");

    desc23.putEnumerated (idUsng, idUsrM, idRvlS);

    executeAction (idMk, desc23, DialogModes.NO);

    }

    This code works if you have an active selection.

    function addLayerMask() {}

    Adds a layer mask to the layer by clicking on the

    Add the button layer mask.

    var idMk = charIDToTypeID ("Mk");

    var desc23 = new ActionDescriptor();

    var idNw = charIDToTypeID ('Nw');

    var idChnl = charIDToTypeID ('channel');

    desc23.putClass (idNw, idChnl);

    var idAt = charIDToTypeID ('At');

    var ref20 = new ActionReference();

    var idChnl = charIDToTypeID ('channel');

    var idChnl = charIDToTypeID ('channel');

    var idMsk = charIDToTypeID ("Msk");

    ref20.putEnumerated (idChnl, idChnl, idMsk);

    desc23.putReference (idAt, ref20);

    var idUsng = charIDToTypeID ("Usng");

    var idUsrM = charIDToTypeID ("rocket");

    var idRvlS = charIDToTypeID ("LVR");

    desc23.putEnumerated (idUsng, idUsrM, idRvlS);      reveal selection

    executeAction (idMk, desc23, DialogModes.NO);

    }

    app.activeDocument.selection.selectAll ();

    addLayerMask();

    To add a layer mask without an active selection is the scriptlistener code you would need

    function addLayerMask() {}

    var idMk = charIDToTypeID ("Mk");

    var desc25 = new ActionDescriptor();

    var idNw = charIDToTypeID ('Nw');

    var idChnl = charIDToTypeID ('channel');

    desc25.putClass (idNw, idChnl);

    var idAt = charIDToTypeID ('At');

    ref19 var = new ActionReference();

    var idChnl = charIDToTypeID ('channel');

    var idChnl = charIDToTypeID ('channel');

    var idMsk = charIDToTypeID ("Msk");

    ref19.putEnumerated (idChnl, idChnl, idMsk);

    desc25.putReference (idAt, ref19);

    var idUsng = charIDToTypeID ("Usng");

    var idUsrM = charIDToTypeID ("rocket");

    var idRvlA = charIDToTypeID ("RvlA");

    desc25.putEnumerated (idUsng, idUsrM, idRvlA);  reveal all

    executeAction (idMk, desc25, DialogModes.NO);

    }

    addLayerMask()

    There are once again hide all

    var idMk = charIDToTypeID ("Mk");

    var desc33 = new ActionDescriptor();

    var idNw = charIDToTypeID ('Nw');

    var idChnl = charIDToTypeID ('channel');

    desc33.putClass (idNw, idChnl);

    var idAt = charIDToTypeID ('At');

    var ref27 = new ActionReference();

    var idChnl = charIDToTypeID ('channel');

    var idChnl = charIDToTypeID ('channel');

    var idMsk = charIDToTypeID ("Msk");

    ref27.putEnumerated (idChnl, idChnl, idMsk);

    desc33.putReference (idAt, ref27);

    var idUsng = charIDToTypeID ("Usng");

    var idUsrM = charIDToTypeID ("rocket");

    var idHdAl = charIDToTypeID ("HdAl");

    desc33.putEnumerated (idUsng, idUsrM, idHdAl);     Hide all

    executeAction (idMk, desc33, DialogModes.NO);

  • buy an iphone 5s by amazon and I came with iCloud blocked an account... {I called the seller and does not that I do that I'm from Venezuela please need your help}

    buy an iphone 5s by amazon and I came with iCloud blocked an account... I called the seller and does not that I do that I'm from Venezuela please need your help

    No one here can help you. The device is locked activation. Since you have made the purchase by Amazon, you can check with them to see if they will stand behind it. No one on the forum, or Apple can help you remove the lock. Only the previous owner can do this. I suggest that you demand a refund, so let's start a claim with Amazon about this dealer.

  • Hi someone help please I am signing the apple tv correctly and it says the password for itunes that is incorrect. However, I am now connected from my computer and it is OK

    Hi someone help please I am signing the apple tv correctly and it says the password for itunes that is incorrect. However, I am now connected from my computer and it is OK

    Have you tried to reboot your router, correct your location settings, you use audit stage 2.

  • Why is-Messages for my non apple contacts does not on my Mac, they work very well on my iPhone.

    Why is-Messages for my non apple contacts does not on my Mac, they work very well on my iPhone.

    Transfer continuity troubleshooting procedure

    Continuity of transfer troubleshooting (2)

    iPhone, iPad, iPod touch and Mac using continuity - connect

    SMS relay - set and use - Yosemite / iOS 8

    SMS relay - set and use - Yosemite / iOS 8 (2)

    Sending text messages

  • WHY IS THAT FIREFOX ALWAYS GEL AND DOES NOT?

    When I started using firefox on facebook it works well for a bit, and then it starts does not or not is very slow. I never had problems with firefox until these latest updates. What could be the problem. It is very frustrating and I've always liked this help so far.

    I deleted the program and reloaded it and have the same

    WHY IS THAT FIREFOX ALWAYS GEL AND DOES NOT?

    I deleted the program and reloaded it and have the same

  • Once I changed my ISP my computer network does not work and does not recognize my router lynsys

    Once I changed my ISP my computer network does not work and does not recognize my router lynsys

    Hi George,.
    Please go to the Microsoft Community Forums.
     
    1. do you get an error message?
    2. do you have the internet connection wired or wireless?
    3. What is the brand and model of the computer?
     
    I suggest to refer to the links and follow the steps in the articles:
     
    Wireless and wired network problems
     
    Resources for the resolution of the problems of modem in Windows XP
     
    How to troubleshoot wireless network connections in Windows XP Service Pack 2
     
    How to reset the Protocol Internet (TCP/IP)
     
    If the problem persists, contact the Internet service provider for assistance.
     
    I hope this helps.
  • Why "bgp bestpath missing-as-worst med" command does not produce the desired result?

    Can dear all, someone tell me why "bgp bestpath missing-as-worst med" command does not produce the desired result?
    And I use GNS3 to this practice, the IOS Version: 12.4 (3)
    TKS...

    Back to the beginning:
    192.168.23.0/24 192.168.12.0/24
    RA(F0/0)-(f0/0) RB (s2/0) - RC (s2/0)
    [AS1]                    [AS2]                    [AS3]

    Configuration:
    * RA *:
    A #do sh run (config - router). b r b
    router bgp 1
    no synchronization
    The log-neighbor BGP-changes
    1.1.1.0 netmask 255.255.255.0
    192.168.12.2 neighbor remote-2
    setmed map of nearby route 192.168.12.2 out
    No Auto-resume

    IP route 1.1.1.0 255.255.255.0 Null0

    setmed allowed 10 route map
    the metric value 20

    * RB *:
    B (config - router) #do sh run | b r b
    router bgp 2
    no synchronization
    BGP always-compare-med
    The log-neighbor BGP-changes
    BGP bestpath missing-as-worst med
    neighbor 192.168.12.1 distance-1
    neighbour 192.168.23.3 distance-3
    No Auto-resume

    * RC *:
    C (config - router) #do sh run | b r b
    router bgp 3
    no synchronization
    The log-neighbor BGP-changes
    1.1.1.0 netmask 255.255.255.0
    neighbour 192.168.23.2 distance-2
    No Auto-resume

    IP route 1.1.1.0 255.255.255.0 Null0

    But when I checked out table RB bgp, as below:

    B (config - router) #do sh ip bgp
    BGP table version is 2, local router ID is 192.168.23.2
    Status codes: deleted, cushioning d s, history of h, * valid, > best, i - internal.
    r SIDE-failure, stale S
    Source codes: i - IGP, e - EGP,? -incomplete
    Network Next Hop path metrics LocPrf weight
    * > 1.1.1.0/24 192.168.23.3 0 0 3 I
    *                          192.168.12.1            20                         0  1 i

    The prefix is assigned a MED of 0, but also the best path value when I use "bgp bestpath missing-as-worst med" in how to configure bgp... :-(

    Please take a look at the discussion on the configuration of drugs to an eBGP neighbor:

    https://supportforums.Cisco.com/thread/343397?TSTART=0

    Note that BGP MED is set to 0 even if the injected BGP route from a connected route.

    The first time I came across this problem sending MED was there in a picture of 5-6 years service provider. Routes were injected into BGP with the command 'network', has been validated by OSPF routes or static to null0. Involuntary consignment of drugs was mess with load balancing between 2 links of our inbound traffic from the same upstream service provider.

    Also note that if a route is learned via iBGP, border router removes MED before the road to advertising for an eBGP peers (i.e. the above comments apply a when a route is injected locally into the border and then router BGP sent to an eBGP peer).

    I don't know what the cause of the problem that you said in your last post. It delivers last for a long time or that it does not change after a while?

    p.s. Sorry, I edited post because I said "iBGP" instead of "eBGP" at some point.

Maybe you are looking for