error in the code using forms 6i

Dear Sirs
I have an error in this code and I don't know how it solve it, and I try this sql code and run without any problems
--------------------
Cursor C2 is
Select b.Item_No, b.Qty, b.Other_Unit_Qty, B.OTHER_UNIT_WT, to_char (null) to_location
i.shelf_no, i.sub_shelf_no
Of Stk_Bal b, stk_item I
where b.item_no = i.item_no
and b.Stk_Year = P_Inv_Date
And b.Stk_No = P_Stk_No
And: All_Item = 1
and (select s.STRUCT_ID from stk_str s where s.stk_no = b.stk_no) a null value
Union
Select b.Item_No, b.Qty, b.Other_Unit_Qty, B.OTHER_UNIT_WT, l.location_no
i.shelf_no, i.sub_shelf_no
Stkloc_bal l, Stk_Bal b, stk_item I have
where b.item_no = i.item_no
and l.item_no = b.item_no
and b.Stk_Year = P_Inv_Date
And b.Stk_No = P_Stk_No
And: All_Item = 0
And b.Item_No between: From_Item_Code and: To_Item_Code
and nvl(i.shelf_no,'0') between: FSHELF_NO and: TSHELF_NO
and nvl(i.sub_shelf_no,'0') between: FSUB_SHELF_NO and: TSUB_SHELF_NO
and ((: mov_items = 0))
or (: mov_items = 1 and nvl(b.tot_in_qty,0) + nvl(b.tot_out_qty,0) > 0))
and (' select STRUCT_ID in the stk_str where stk_no = b.stk_no "") is not null;
------------
error in this line
and (select s.STRUCT_ID from stk_str s where s.stk_no = b.stk_no) a null value

wait for the answer
and thanks in advance

Cheap Yasser,

As Manu subqueries are not allowed on the left side of the equal (=) and NVL as well.

So instead use the query above, suggesting Manu or

Modify your query in the form below for the first sub query:

NOT EXISTS (select s.STRUCT_ID from stk_str s where s.stk_no = b.stk_no)

and for the second query sub

EXISTS (select STRUCT_ID from the stk_str where stk_no = b.stk_no)

Hope this helps

Tags: Oracle Development

Similar Questions

  • DROP the USER using Forms 6i

    Hai All,

    I want to create and drop database through forms 6i users.

    The user creation works fine for me, but the deletion of the user does not work.

    I use the code
    FORMS_DDL ('DROP USER CASCADE TEMP_USER'); to remove the user.

    but it's not working.


    one you suggest how can I remove a user from the database using forms?


    Thank you

    Manu.

    It works through several sql?
    If so you could do a test with immediate execution...

    create a database procedure:

    create or replace procedure execute_immediate(ivStatement in varchar2) is
    begin
      execute immediate ivStatement;
    end;
    /
    

    and call from forms:

    begin
      execute_immediate('drop user test_user cascade');
    exception
      when others then
        message(sqlerrm);
    end;
    

    run errors of immediate installation of oracle, so you should see what is happening

    concerning

  • How to fix the error with the code: 0xe7210001 failed to load powrprof, object: cls

    Hello

    Dose anyone know how to fix the error with the code: 0xe7210001, message: unable to load powrprof, object: CLSD-no-it is found;
    OR: Fingerprintsoftware OR error: replicas THotkey.exe message window and the computer freezes

    Maleware scanned and virus, also in safe mode, found no infection, reinstalled driver fingerprint, but nothing has changed.

    grateful for the help!

    Hello

    > message: unable to load powrprof, object: CLSD-no-it is found;
    In my view, this would mean that there is a problem with Toshiba Power Saver
    What laptop Toshiba, you have exactly?

    Maybe reinstall Power Saver could help. You can find it on the official website of Toshiba.

  • im getting fatal system error and the code is cnu9363GKK thanks

    im getting fatal system error and the code is cnu9363GKK thanks

    Hello

    Enter: e9lofgfhss (3rd character is a lowercase L)

    Kind regards

    DP - K

  • Error message: the preset used by one or more sequences in this project requires third-party components that could not find. These sequences will be changed to use a custom sequence implementation. To continue editing using the original preset, as

    Hi all

    I can't open a project PP without this error message that appears:

    "The preset used by one or more sequences in this project requires third-party components that could not find. These sequences will be changed to use a custom sequence implementation. To continue editing using the preset original, exit the application without saving the project, reinstall all third-party components that are needed, and reopen the project'.»

    What I had been doing before that to happen was a PP project using sequences ProRes for editing and editing multicamera. Several cameras didn't work very well and after a few attempts of difficulty that I gave up and finished the work of cutting 3 layers of video instead. SOUL refused to make the finished three lasting more than 1 hr sequences so rendered video sequences PP. finals

    I tried to remove the plists for SOUL, PP and QT repair disk permissions and restarted, but there was no improvement.

    Customer is satisfied for now, but will want to return on this work to a later date so decided to uninstall and reinstall SOUL and PP in the hope that the two would be willing to work properly when needed again. SOUL works very well in conjunction with another PP project, but now I can't open the PP project in question without the above error message appears.

    After searching on the net, it seems that the problem may be caused by ProRes but I could not find a definitive solution to the problem. Does anyone know either:

    1. How do I solve this problem?

    2. If I chose the "modified by using a custom sequence parameter", can I be sure that my footage will look the same, even if they do not use ProRes? The final format of the deliverable will be mp4 so as long as the overall appearance does not change so I can afford a change in the edit codec. It's just that with three sequences of more than an hour long, I don't want working days to be ruined.

    Other older PP projects of mine open and work properly.

    First CC 8.2.0 Pro

    Media encode CC 8.2.0.54

    10.10.2 OSX

    Any help would be greatly appreciated.

    Duncan.

    Web chat Adobe find a solution.

    Open the PP. project

    Export your project or the sequence in Final Cut Pro XML form.

    Set up a new project PP.

    Import Final Cut Pro XML file.

    This will take you to the top race.

    Since getting back to this publishing project, I found that some things will be lost or change using XML:

    You will lose the position key framing, black video clips, dissolve fx, audio levels, dynamic audio fx, the possibility to open a multi camera clip and change the display of the camera.

    You keep the cut points, crop fx.

    Not perfect but only took a few hours to save 3 working days.

  • I use a book on puzzles of lingo and 12 Director dislikes in the code using [cc]

    The game is a game of searching for words in a book of advanced jargon and lingo code uses [cc], who is coming as an error code.  What is the problem, or is this use of [cc] obsolete?  And if so, how can it be corrected?  Thank you.

    on getPropertyDescriptionList me

    List = [:]

    -members of the text with the words it contains

    list of addProp, #pWordSource, [cc]

    [#comment: "Source term",[cc] ]

    #format: #text,[cc]

    [#default: VOID]

    list of addProp, #pEndGameFrame,[cc]

    [#comment: 'End Game Frame',[cc] ]

    #format: #marker,[cc]

    [#default: #next]

    back list

    end

    [cc] here stands for "continuation character. Prior to Director 8, this level was ¬ and the Director 8 go it is------(immediately followed by a carriage return). Assuming you are using a 21st century Director version, it should work for you:

    on getPropertyDescriptionList me

    List = [:]

    -members of the text with the words it contains

    List of addProp, #pWordSource,------.

    [#comment: ' word Source ', \]

    #format: #text,

    [#default: VOID]

    List of addProp, #pEndGameFrame,------.

    [#comment: 'End Game Frame', \]

    #format: #marker,

    [#default: #next]

    back list

    end

  • Paste the error in the code, Dreamweaver MX, v. 7.0.1 window

    Hello, everyone!

    I use Dreamweaver MX, version 7.0.1 on a Dell Optiplex 990 running Windows 7.  As I remember, initially Dreamweaver ran correctly.  At some point, however, he developed a really frustrating problem.  If I try to paste it into the code window, an error box will appear, with the following message appears:

    -------------------------------------

    While executing onLoad in CodeViewPasteFilter.htm, what follows

    JavaScript error (s):

    In the file ' 'CodeViewPasteFilter ' ':

    ReferenceError: run is not defined

    -------------------------------------


    I can copy in the code window and paste it in the design window, and I can copy and paste into the design window (and can copy other programs open to the design window of windows).  When I try to paste it into the code window, however, I get the above error.  If I highlight text, I can move it to different places, but I can't copy it and then paste it.


    I was hoping someone might have a solution for this.


    Thank you for your help.

    This should help-

    Dreamweaver FAQ index

    Try the first suggestion.

  • 1093 syntax error in the code of Adobe devnet?

    Hi all

    I'm new to AC3 so maybe I'm wrong... but I tried to follow the steps in this tutorial Adobe AC3: http://www.adobe.com/devnet/flash/articles/creating_animation_as3.html

    .. very close and I get an error of syntax 1093 to the code below. Does anyone have an idea, what is the problem... and what is the solution?

    The red line is the one that is listed in the error message. (This is a tutorial to make a snippet of code for interpolation).

    Thank you very much!

    Fl.transitions import. *;
    Fl.transitions.easing import. *;

    /**
    * This Tween sample shows a fade effect
    * by default. Change the propeller, at, and the duration
    the values to change the animation. You can add the code
    * in the event handler functions to respond to animation
    * the event calendar.
    */

    function onTweenProgress(event:TweenEvent):void
    {
    do something along the tween...
    }
    function onTweenEnd(event:TweenEvent):void
    {
    do something when the Tween is finished...
    }
    var prop: String = "alpha";
    var a: number = 0;
    var to: number = 1;
    var duration: number = 1;
    var tween: Tween = new Tween (rect_mc, alpha, Strong.easeOut, from, to, duration, true);
    tween.addEventListener (TweenEvent.MOTION_CHANGE, onTweenProgress);
    tween.addEventListener (TweenEvent.MOTION_FINISH, onTweenEnd);

    It's the quotes that uses your code on this line.  I'm guessing that you copied and pasted from somewhere.  Try retyping the double quotes with your keyboard

  • error in the code

    Hello

    I get the error 'end the communication folder' for the code below:
    select asset_type, asset_value, loan_purpose, balance_os
    from
     (select sr_no, ret_assesscode, ret_factype, addnl_factype_no, (select aa.asset_liability_name
              from mst_asset_liability aa
             where aa.asset_liability_id = a.asset_type) asset_type,
           asset_value
      from rf_assetdetails a where ret_assesscode = '149'
       and ret_factype = 'A'
       and addnl_factype_no = '0') p full outer join
    
      ( select lender_no, ret_assesscode, ret_factype, addnl_factype_no, (select asset_liability_name
              from mst_asset_liability aa
             where aa.asset_liability_id = loan_purpose
               and aa.asset_liability_type = 'L') loan_purpose,
           balance_os
      from rf_liabilities where ret_assesscode = '149'
       and ret_factype = 'A'
       and addnl_factype_no = '0') q on p.sr_no = q.lender_no

    It is a driver of customer error which says: he has lost communication with the server Oracle service process.

    The usual reason for the client driver launch this error is that the Oracle server process had planted (usually due to some kind of bug) and in the framework of crashing, tore the communication channel to the client. The client driver was so perfectly unconscious of the process server failure, until he tried to communicate with this server process.

    The crash of the server process will result in error messages written to the alert of the instance database log. Dump/follow-up of session files are also usually created.

    So to determine why the server process created, you must go to the server.

    The error code of the accident can also be used in the support.oracle.com search of ORA-600 - and you can point to a specific Oracle bug, a fix specific Oracle or workaround that can be used.

  • Hide an error to the application using a servererror trigger?

    We have an application designed for an older version of oracle that emits a few sql which is not more supported in the version of database of todays.
    We want to use the application without modification with a new database server.

    Old server Version: 7.3.4 (still in production...)
    New Version of the server: 10.2 or 11.2

    Questions of application one
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    which translates ORA-01986 and matrices of the application.

    We would like to hide the 01986 application error using a trigger:
    create or replace
    trigger catch01986
      after servererror
      on schema
      begin
        if (ora_is_servererror (1986)) then
          null; -- what to do here? we want clear the ora-01986 from the error stack
        end if;
      end catch01986;
    How to handle the error, so that the alter session set... is simply ignored and no error code is returned to the application?

    I asked a few days ago in the general Forum of database, but triggers therefore belong to PL/SQL, I repost here.

    TNX for the help in advance!

    jjaeckel wrote:

    So I go back to the original question:
    Is there a chance to hide the error ora-01986 of the application of the code, we can handle this in a servererror trigger?

    N °

    http://download.Oracle.com/docs/CD/E11882_01/AppDev.112/e17126/create_trigger.htm#CIHBABAH

    The only event AFTER SERVERERROR, the error trigger has already been mentioned.

  • Help with error in the Code generated by the WSDL Wizard

    I have generated the code the wizard of webservice and then wrote a simple mxml file to test the code. I get this error:

    1061: call to a getClass method maybe not defined through a reference with static type class.

    It occurs in the following code:

    /**
    * Internal event handler for handling a call to success from the server
    * The result is decoded using schema settings and operation, then the
    * events transmitted the real front that the user works in the application
    * @private
    */

    private void processResult(result:Object,wrappedData:Object):void
    {
    var token: AsyncToken = wrappedData.returnToken;
    var currentOperation:WSDLOperation = wrappedData.operation;
    var decoder: SOAPDecoder = new SOAPDecoder();


    decoder.resultFormat = "object";
    decoder.ignoreWhitespace = true;
    decoder.makeObjectsBindable = true;
    decoder.wsdlOperation = currentOperation;
    decoder.schemaManager = currentOperation.schemaManager;


    var object: body = result.message.body;
    var stringResult:String = String (body);

    If (stringResult == null | stringResult == "")
    return;


    var soapResult:SOAPResult = decoder.decodeResponse (result.message.body);
    If (soapResult.isFault)
    {
    defects of the var: Array = soapResult.result in the table;

    for each (var soapFault:Fault in error)
    {
    var soapFaultEvent:FaultEvent = FaultEvent.createEvent (soapFault, token, null);
    token.dispatchEvent (soapFaultEvent);
    }
    } else {}
    result = property decoder.decodeResponse (result.message.body);


    If (result is ArrayCollection collection)
    {
    do you need to perform an upcast to specific type here
    var arrayTypedClass: Class = SchemaTypeRegistry.getClass(currentOperation.outputMessage.parts[0].type);

    result = new arrayTypedClass (result.source);
    }


    event: ResultEvent var = ResultEvent.createEvent (result, token, null);
    token.dispatchEvent (event);
    }
    }

    The statement where the error occurs is in bold above. The comment above this line says I should perform an upcast to a specific type here, but I don't know what that means. What specific type? How to determine what type of perform an upcast to?

    Any help would be appreciated.

    TIA,
    Randy

    Hi Martin,

    The error you have shown, it seems, that you have upgraded your SDK version, but not the Builder. The problem you are having is because of one of the classes (SchemaTypeRegistry) SDK has been updated static to a dynamic class. Therefore, using the call getClass() on it will not longer work. In addition, the lines that register type mappings do not work.
    We have updated the generated code, but it seems that you are using an older version. Now for the correction of your code, you should:
    1. locate all occurrences where the class of SchemaTypeRegistry is called a static class.
    2. replace the SchemaTypeRegistry by calls to SchemaTypeRegistry.getInstance () method, like this:
    SchemaTypeRegistry.registerClass (params) becomes SchemaTypeRegistry.getInstance () .registerClass (params)

    The problem is that when you re - generate the code, you will have to re - again all these changes.

    Hope this helps,
    Cristian

  • How to search for a specific word in the code using Dreamweaver?

    I need to search for a specific word in the code for all the pages of my site. How can I do it using Dreamweaver?

    To search for local files of a Site defined in DW...

    Open the search tool & replacement with Ctrl + F

    Replace the drop-down list search in entire current Local Site

    Replace the drop-down list of search text or Source code

    Add the text to search for in the search field

    Add the replacement text in the field replace (or nothing if you just want to remove the text)

    Hit replace all

  • How to color or opacity when the code using the mouse?

    Hi all

    I try to adjust the color or opacity of an object only with the code, without using keyframes.

    How must enter the right code to change the opacity of an object 50% on mouseover and mouseout/mouseouthandler() 100%? It would be amazing that I could apply the same timetable for the transition.

    I tried to use:

    {- webkit - transition: opacity 0.5 ;}}

    but had no luck.

    Thanks in advance for any help!

    Eric

    You can try this for starters?

    on mouseleave

    SYM. $(«pi-001») .animate ({opacity: 1}, 1000);

    and

    on mouseenter

    SYM. $(«pi-001») .animate ({opacity: 0.5}, 1000);

  • Help with error in the code

    Hello
    I'm a relatively new to Dreamweaver. I have problems with my page. I get the following error:

    unfinished string constant


    I don't have anything fancy in my code, do not know why this is happening. All the tips are greatly appreciated.

    Thank you.

    Wednesday, August 30, 2006 07:42:35 + 0000 (UTC), "merffe".
    wrote:

    > Thanks for both of your responses. I killed the code and the page seems to work.
    >
    > Thanks for saving the day.

    You are welcome. Happy that you guessed it sorted.

    Gary

  • Error 80070641 and 641 of the Code using Vista 64-bit code - cannot install Windows updates

    Dell Studio 540
    Intel Core 2 Quad CPU [email protected]
    8.00 GB OF RAM
    Windows Vista Edition Home Premium SP2
    64-bit operating system

    I get the same codes that everybody, and I tried so many solutions posted that I'm really frustrated now. Once solutions expected to run msiexec/unreg and Windows could not find the file, so maybe that's the problem? I'm at my wits end here... I want to upgrade to Windows 7, but I fear that this problem prevents a successful upgrade.  Please help me!

    Darlene

    Hello Darlene,

    Download and SAVE to your system the following files from registry-fix 2
    http://download.bleepingcomputer.com/win-services/Vista/msiserver.reg

    http://download.bleepingcomputer.com/win-services/Vista/wuauserv.reg

    For each of them, do a right click on it and select MERGE

    Allow everyone to merge into registry.
    Once it is finished, logoff and reboot for a new beginning.

    Try new Windows Update & inform of the result.

Maybe you are looking for

  • Satellite P300-172 - you can upgrade to Windows 7?

    Hello so I got my Satellite P300-172 for a while now, Windows Vista has always done my head in, and now I think THAT my warranty ran out, I feel its time to upgrade to Windows 7, the other reason im trying to improve because vista is unable to search

  • Remote Desktop Connection has stopped working since 7 for 2008

    Hello Dears I have strange problem and I have read everything discussed here, but it's not helping I have asus laptop with Windows 7 Home x 64 N53SM everything beautiful, and up-to-date Remote Desktop works well also one problem I can't use desktop r

  • Access role Temp URL for AVG

    Everyone was able to decipher all of the URLS necessary to configure AVG Free in the temporary role so that users can fix their PC with AVG Free?

  • Not able to download the updates of WIndows Error Code 80246008

    Moose title: System Update updates microsoft windows My Windows 7 will not update anything. Error code 80246008. Help?

  • No "sandwich" icon now in DW 2015.2

    When I start a new site "bootstrap", create a new home page, incorporate a basic navigation bar on the page and size to the bottom of the window in the mode live view or listen to extracts in chrome (or another browser) no "sandwich" icon will appear