IN Operator in Forms

IN operator in forms
Hi,
In the Forms I'm declaring a cursor and the where clause has IN operator
like..
declare
cursor cur is select...
where name in (:global.var_temp);
--:global.var_temp = 'TOM','HARRY','SANDY'
begin
end;
:global.var_temp is list of EMP values selected by user.
It fails to select the records for present names for some reason ?
Is there any other way I can put values for IN operator ?
Regards
N

Hi Nitin,
If I'm not wrong that you're trying to use that global variable as condition values in your cursor statement. I would like to "simulate" it first. If I put the :GLOBAL.var_temp value into Your cursor, it should be like this :
declare
cursor cur is select...
where name in (''TOM','HARRY','SANDY'');
begin
end;
You can see that the quote in front of TOM and quote behind SANDY. That's what happen if you're trying to use that global variable into the cursor, that your cursor become invalid.
I haven't test the solution, but maybe you can try to eliminate the quote in front of your global variable and at the end of your global variable. Try to insert this statement before the declaring section (the most upper of the trigger code):
:GLOBAL.var_temp:=SUBSTR(:GLOBAL.var_temp,2,Length(:GLOBAL.var_Temp)-2);
REMEMBER: I haven't test this solution, if this work don't forget to notice me.
Hope this helps.
Regards,
Franko Lioe
>
IN operator in forms
Hi,
In the Forms I'm declaring a cursor and the where clause has IN operator
like..
declare
cursor cur is select...
where name in (:global.var_temp);
--:global.var_temp = 'TOM','HARRY','SANDY'
begin
end;
:global.var_temp is list of EMP values selected by user.
It fails to select the records for present names for some reason ?
Is there any other way I can put values for IN operator ?
Regards
N

Similar Messages

  • Processing exception during a "Render" operation -- adobe form

    Hi All,
    I am getting following error when I am running any adobe form including tutorials from sdn.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: <b>Processing exception during a "Render"</b> operation.
    Request start time: Fri Jun 23 14:27:34 IST 2006
    com.adobe.ProcessingError: <b>File not found error writing stream: <Render><Template><Name></b> "http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true :
    <b>java.io.FileNotFoundException: IO error detected while opening HTTP/HTTPS connection</b>: http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true :
    <b>java.io.FileNotFoundException: HTTP Status-code: 503 Service Unavailable</b> - connecting to http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true
    Exception Stack Trace:
    com.adobe.ProcessingError: File not found error writing stream: <Render><Template><Name> "http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true :
    java.io.FileNotFoundException: IO error detected while opening HTTP/HTTPS connection: http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true :
    java.io.FileNotFoundException: HTTP Status-code: 503 Service Unavailable - connecting to http://in-ccusapep01:50000/webdynpro/dispatcher/local/TutWD_DynamicForm/DynamicFormApp/wd_keyagQrztI_a3fvmxOUpvPuSA==/sapwebdynpro.xft;jsessionid=(J2EE4083000)ID0174858350DB00090618831087003045End;saplb_*=(J2EE4083000)4083050?sap.session.download=4&sap-wd-cltwndid=4f233921029611db9f3700142216317c&sap-wd-appwndid=Id4f233921029611db9f3700142216317c1b&sap-wd-norefresh=true
         at com.adobe.Render.execute(Unknown Source)
         at com.adobe.BaseADSRequest.doWork(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:486)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1154)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Please help.
    Thanks is advance .
    Raktim

    Hi tiffny
    FQDN is fully qualified domain name . Like a computer can be accessed with http://mycomputer:50000. or http://mycomputer.mycompany.com:50000. Last one is FQDN.
    When u download from service.sap.com u can see whether it is 6 or 7 .
    Thanks
    Raktim

  • Operating smart form with word document

    hi all
    I want to print text of word document in main window of the smart form.
    First tell me can I do this???
    If yes, then how??
    With Regards,
    Jayavant.

    Hello Roseanne,
    As i get you right, the form doesn't display one value (you wrote document, but is dont know excatly what you mean) in the right (or at least expected) way and you can't find the value in the smartform.
    So my next question is, what your meaning of physical and locical records? I can only imagin the there are 2 recordes in the database and only one is printed in the form. If im wrong please correct me.
    First of all you should be able to find the spot where the data is writen to the form. Trie to narow down area where it will be printed by commanting out block by block ( conditions tab 1 = 2).
    If you find the right node do the same thing on the subnode until you get the node where the error appers.
    Everything that is printed in the form have to be anywhere in a node/table/loop and so on.
    You can also tie to set a breakpoint in the globae area, at the beginning and serch the structres for the entry which is wrong. Maybe this will help you to find the right spot.
    Good luck with fixing the form!
    Br,
    Nikolaus

  • [SOLVED] forms looking strange in opera since upgrade to gnome 3.4

    Hi!
    I just upgraded my gnome installation to gnome 3.4 and now I see some strange rendering effects in opera regarding forms.
    First problem is that text fields now have an inner border. This creates a 3D effect but looks kind of strange because the text overlaps this inner border:
    The second (and more severe) problem is that entries of a drop-down menu disappear when they are hovered:
    I searched through gnome's and opera's theme settings but couldn't find any option that could change this behaviour. I also tried removing the .opera directory but it also didn't help.
    Can anyone confirm these problems and has anyone an idea how to fix it?
    Greetings,
    Michael
    PS: The screenshots were taken in this forum (search form) but can be seen on all other websites with standard forms.
    edit:
    fixed in opera 12 build 1406 (currently beta status and only available on AUR)
    Last edited by Bevan (2012-05-12 12:43:14)

    lucke wrote:Perhaps you have aldabra set as the gtk+ theme in gnome-tweak-tool.
    Good idea, but it's set to Adwaita.
    -- edit:
    ok, this is definately a problem with opera and the new version of Adwaita. If I use the old Adwaita version, that's included in gnome-themes-standard-3.2.1-1, as GTK+ theme both problems are solved. But then other things look weird...
    I reported this to the opera team. A workaround is to set "Dialog Toolkit" to 1 (qt) or 4 (neither gtk nor qt) in opera:config.
    Last edited by Bevan (2012-04-23 20:51:16)

  • Key mapping for forms on web

    Presently we are using forms 4.5. We have got costomise key
    mapping for operating through forms. Now we want to start forms
    on web (Intranet). Earlier we use to change key mapping through
    oracle*terminal. I require help in knowing how to customise key
    mapping in forms 6i / oracle 8.1.7.

    Hi,
    Boy, I have some good news to you: Oracle*Terminal is no longer
    needed.
    WordPad (or your favorite text editor) is your tool from now on.
    Keyboard files are located in $ORACLE_HOME\FORMS60.
    Simply ignore the binary file fmrusw.res when you run Forms on
    the Web. FMRWEB.RES is the one that is used, and it's pure ASCII.
    There are some comments in the file itself.
    The keys are the same as the Motif version of Forms.
    If you prefer the Windows keys, simply use FMRPCWEB.RES instead.
    How? Check under $ORACLE_HOME\FORMS60\SERVER for your
    formsweb.cfg, go to User Parameters and replace the
    otherparams=
    line with
    otherparams=term=%forms60%\fmrpcweb.res
    Now, anyone can define the Function-0 till Function-9 key
    combinations, in order to use KEY-F0 till KEY-F9 triggers.
    Hope this helps,
    Pedro das Neves
    [email protected]

  • Cannot Open Form Created on Separate Thread After Closing

    My application communicates with a device that has several sensors.  As the sensors collect data, they send messages over the com port.  I have written a class to communicate with the device.  As the messages come in and are processed, the
    class raises events that the application responds to.
    The main window of the application handles the communication with the device and displays several statistics based on the data collected.  When the user presses a button on the device, a specific event is raised.  The main window create a separate
    thread and opens a child window.  When the child window is open, the user opens a valve to dispense the product.  As the product is dispensed, a flow meter connected to the device measures the volume of product dispensed.  The flow meter generates
    messages to indicate the volume dispensed.  I need to be able to send messages from the main window to the child window so that the child window displays the volume.  When the user is done, they close the valve dispensing the product and press the
    "End" button on the child window.  The child window then updates several variables on the main window, makes a couple of database calls to record how much product was dispensed and by whom and then closes.
    I need to run the child window using a separate thread as both windows need to be able to process commands.  If only one window has control the program doesn't work at all.  I have it figured out so that everything is working.  I can open
    the child window, dispense product, se the amount of product dispensed in the child window (the main window processes commands from the device and updates the label on the child window using a delegate), closes the window (using Me.Close()) and updates the
    main display with the updated data.  The problem is that when a user goes to dispense product a second time, I get the following error:
      A first chance exception of type 'System.ObjectDisposedException' occurred in System.Windows.Forms.dll
      Additional information: Cannot access a disposed object.
    I thought that maybe I could hide the window (change Me.Close() to Me.Hide) and then just show it.  When I do that I get this error:
      A first chance exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll
      Additional information: Cross-thread operation not valid: Control 'frmPour' accessed from a thread other than the thread it was created on.
    Both of these errors make sense to me, I just can't figure out how to make it work.
    First I have to declare the child window as a global variable as I need to access the window from a couple of the event handlers in the main form.
    Public frmMeasure As New frmPour
    When the user presses the button on the device to dispense the product, the event handler executes this code to open the child window.
    Private Sub StartPour(sAuthName As String, sAuthToken As String, iStatus As Integer) Handles Device.Pour
    Dim th As System.Threading.Thread = New Threading.Thread(AddressOf Me.OpenDispenseWindow)
    th.SetApartmentState(ApartmentState.STA)
    th.Start()
    End If
    End Sub
    Which executes this code:
    Public Sub OpenDispenseWindow()
    frmMeasure.sNameProperty = sCurrentUserName
    frmMeasure.sAuthTokenIDProperty = sUserToken
    Application.Run(frmMeasure)
    bAuthenticated = False
    bPouring = False
    dSessionVolume += GetTapConversion(sCurrentValve) * iFinalTick
    UpdateDisplayDelegate(iValveID)
    End Sub
    It doesn't matter if I use Me.Close() or Me.Hide(), both methods fail on the Application.Run(frmMeasure) line with the errors shown above. 
    For the Me.Close() method, my thinking is that the global frmMeasure object is getting disposed when I close the child window.  Is there any way that I can re-instantiate it when I go to display the window again?
    For the Me.Hide method, is there any way that I can track the thread that created it in the main window and when I go to call it a second time, detect that it is already available and just Show() it?
    Any hints, tips or suggestions are appreciated.
    Thanks.
    John
    John

    To be honest, I have only grasped < 100% of your message in detail, but...: Windows that have a parent<->child relation must be running in the same thread. In addition, after closing a modeless window, you must not use it anymore. Instead, create
    a new instance.
    What happens if you do not create a new thread but instead open the child in the same thread (which is obligatory)? You wrote it doesn't work, but I don't know why?
    "First I have to declare the child window as a global variable".
    How do you define "global"? Normally this is a variable in a Module declared with the scope Public or Friend. But I guess you mean a field of the Form (a variable at class level in the Form).
    "I need to be able to send messages from the main window to the child window so that the child window displays the volume."
    Why does the main window has to send the messages? Can't the child window handle the device's messages itself?
    "I need to run the child window using a separate thread as both windows need to be able to process commands."
    Process commands from the device, or commands from the user operating the Forms?
    Armin

  • Open Form button on UWL is disappers, after changing the XMLs

    HI Frndz,
    We created a custom UWL(workbench) by creating uwl.standard.hr(from uwl. standard.xml),and when the workflows are triggered Items are not coming to our custom UWl , but these are coming fine to standard UWL.
    So i added the WF ITEMS into uwl.standard.hr manually and uploaded, now the items are coming to custom UWL(workbench), but when we click on Items these are not launching WDP application, this is the same case in standard UWL also.
    I came to know that when am adding the WF items to uwl.standed.hr than only OPEN FORM button is disappearing in custom and standard UWL also.If i delete these added entries in uwl.stranded.hr than standard UWL items are lunching well.But WF items are not coming to workbench(custom UWL).
    Plz suggest us.
    Regards
    Rajesh

    To be honest, I have only grasped < 100% of your message in detail, but...: Windows that have a parent<->child relation must be running in the same thread. In addition, after closing a modeless window, you must not use it anymore. Instead, create
    a new instance.
    What happens if you do not create a new thread but instead open the child in the same thread (which is obligatory)? You wrote it doesn't work, but I don't know why?
    "First I have to declare the child window as a global variable".
    How do you define "global"? Normally this is a variable in a Module declared with the scope Public or Friend. But I guess you mean a field of the Form (a variable at class level in the Form).
    "I need to be able to send messages from the main window to the child window so that the child window displays the volume."
    Why does the main window has to send the messages? Can't the child window handle the device's messages itself?
    "I need to run the child window using a separate thread as both windows need to be able to process commands."
    Process commands from the device, or commands from the user operating the Forms?
    Armin

  • How to hide the display of  my text in oracle forms

    Oracle Forms 6i
    Hai All
    My question is how to disable my Text.
    I have created a forms for weight management here when the user opens the forms I dont want to show my text and textitem before filling some fields.
    I have have set the text item by Set_item_property display False and how can set the text display false
    Thanks & Regards
    srikkanth.M

    You cannot do any operation on forms label
    other way is to use non-database Display items to show you text.... or if you are looking to hide the prompts of text fields then you can set it to null or hide the text item completely

  • Passing values between forms

    Hi,
    I have a scenario where Form A invokes Form B (also passes some values while invoking) and goes to the background. After the user completes the operations on Form B it closes and I need to pass some values back to Form A.
    How do I pass the values back to Form A which is already open?
    Thanks.

    Hi,
    Read about the Global Variables. You can set values from FORM B and access in FORM A.
    -Ammad

  • OPERATION DETAILS IN ROUTING

    Hi Experts
                  In the operation details of routing- CA01 there is control -either based on time or Quantity for every operation. What it mean. If time based is it denoting the time for the particular operation. What it mean if "quantity based " is preferred.Can I have details please.
    Also will you give a scenario with some operations mentioned where I can use routing.
    Pranav

    Hi Gajesh, Thanks
    I take your case - "Suppose you have 4 operation. Forming, lathing , quality checks and painting. Normaly in production system you will have a quality check in between the process".
    here check necessary in 3rd step - quality check. So am I to select time based / quantity based for operation -3 only ( because only it will have MIC ). Can I go without selecting time based / quantity based option also (if so how - what option i need select in the operation details for the 3rd operation). 
    Next, in CO11N. I confirm operation -1 ( here what option I hav to select - either partial confirmation / final confirmation). As per my logic, only partial confirmation need to be selected (what quantity I hav to enter here for yield- is it the total production order quantity = total target quantity).
    similarly, 2nd operation- lathing- I select partial confirmation- enter yield/scrap etc
    3rd operation is qc check- is it possible that production person will confirm this step in co11n itself without waiting for the qc person to confirm using QA32. ( here what yield to be entered and how if we use QA32 )
    4th -painting - finally ( as my logic goes -final confirmation selected and operation confirmed for the total production order quantity)
    Tell me if right. I noticed that if final confirmation option selected in the first operation itself, all the 4 operations can be confirmed in the co11n itself ( by selecting final confirmation option for all 4 operations)by the production department. Am i wrong somewhere. If this is so, how Qc person has control over the process.
    Also what yield /scrap quantity will be entered for each 4 operations in co11n ( is it mean the wastage occuring in each step =scrap and remaining quantity =yield). If so the final yield by operation -4 will be surely less than the production order quantity ( if wastage occurs during lathing/forming)
    regards,Pranav

  • Forms Hang on saving a record.

    Dear All Experts,
    We have OAS 10g 10.1.2.0.2 and Orcle DB 9i on seprated win server 2003.
    A couple of users suddenly face a Forms Hang problem while they try to save the record. it's not occuring on all time but when it occurs they have to re-login.
    On the login again it works filne.
    Would you please guide us to resolve this problem.
    Thanks & Regards
    Eidy

    Thats a little complicated.
    In general there are two possibilities to do:
    1. Replace the ""standard" DML-operations of forms by your own operations. This is done by using the ON-INSERT, ON-UPDATE and ON-DELETE-triggers in forms, so its a client-side operation.
    2. Base the block on a view instead of a table, let forms do its standard DML-operations and do your own operations on INSTEAD-OF-triggers on the view, this is the server-side operation.
    Personally, i prefer the second option, for it keeps the business-logic in the database and the client-side "thin".
    Implementing the first method:
    Forms marks as record for the next DML when you change any relevant item. A relevant item in this sense is one of the basetable-items, or a non-databaseitem, which in turn changes a databaseitem. You can also set the property "Lock Record" on a non-database-item to "Yes" (thats what you have to do). If a record is marked that way, forms automatically tries to lock the record. So you would also have to create an ON-LOCK-trigger on the block and do your own lock in it. And last, put your DML-operations inside the ON-UPDATE, ON-INSERT and ON-DELETE-triggers

  • Assigning mic in operations of production order for newly inserted oprt

    Hi, Please advise how to assign mic to the newly inserted operation of the prod order?i mean say 3 operations copied form master data. we added a 4th operation manully. i want to assign new inspection characterstics to the 4th opration. plese advse.

    Dear Raju
    1) Go to CA02
    2) go to header
    3) Maintain inspection Point as 150
    4) Maintain partial Lot Assign as partial lot assignment according to plant default
    5) At Operation level maintain a QM work center ( testing ) with Control key QM04 ( as per your requirement)
    6) double click on the control key and go to Quality Management : Inspection points
    7) Maintain Inspection point completion : Quantity , Valuation and confirmation ( as per your need , you can select other options also) press F1 and see the impact of each
    8) choose time related and keep Tfac 1 and Unit as HR ( As needed)
    9) You can select quantity - related also and then maintain the quantity.
    10) Select the QM operation and maintain in the MIC
    Regards
    Gajesh

  • Oracle9i Forms and XML-conversion

    Hi,
    in Duncan's White Paper "Oracle9i Forms in a Java World" you can find the following passage:
    "These conversion tools make it possible to perform operations on Forms files that were impossible before. For example, you cannot diff and merge Forms binary
    source files themselves. However, you can use the tools to convert two FormsModule files to XML, diff and merge them, validate the result, and covert it back to a Forms .FMB."
    I must admit, my knowledge about Forms6i is quite limited, but I'm aware of the possibility to convert *.FMB (binary format) to *.FMT (text format) and vice versa. So I thought, this would have been possible before.
    I'm not sure about that, so any clarification on this would be very nice.
    What are the benefits of the XML-representation? I guess it't more readable because XML can better reflect the structure of a module than a flat textfile. Are there other reasons to use XML? Can someone give me real world applications (besides the mentioned diff/merge and documention purposes)?
    Tnanks a lot,
    Eric

    Eric - we never supported you editing the FMT in any way and also, not all the information in the FMT was in text format.
    XML gives you a structured text representation, meaning, as a text file you can easily make changes/diff/merge etc etc and so long as it still is in the correct structure it will convert back to FMB. You couldn't do this with FMT.
    Regards
    Grant Ronald
    Forms Product Management

  • Query for Multiple Rows as XML

    Ok I've seen this topic in the forums, but have failed to get this to work within my process. Basically I have a process that has a user fill out a form, and upon submittal the form writes it's information to a database (via a data connection within the form that invokes a separate process upon submittal.), once this is done the main process is invoked and it's first step is to query that same database and bring back the data in a lower (now exposed) portion of the form that contains certain fields that track the issue history. The query brings back the xml document and I store it in an xml variable (xml_output). I then take this information and use the Set Value object to assign the returned nodes values to the location fields in the form. This works if the query returns only one row. But once the form is moved beyond the initial Task Assignment, (first user), and query returns more than just one row, the added nodes to not show up on the form, i.e I still just get information about the first row in my form. From what I've read the form should be able to recognize the xpath expression, and bring back all the nodes, by in a sense using instance manager to create an instance for each node on the form. My question is how can I get this to work. Jasmin if your still out there... Help!
    Also We're using Adobe LiveCycle ES 8.0
    created the process using Workbench
    the form was reader enabled and saved as a dynamic PDF.
    Thanks
    Mike

    Ok have done the binding of the schema to the form, and I'm getting the information to flow as it's supposed to.  The problem I'm having now, (I know I'm having a bunch.) is that once I've placed the form into my process, and I use the set value operation to pre-fill information I get the form to flow, but the rest of the information that was previously filled in is blank.  So I have checked the variable and nothing wrong there.  It appears the problem is how I'm using the set value operation.  If I don't use the set value operation, the form retains it's information.  And if I use the set value by trying to set the subform value, the form retains it's information, but no pre-fill.  I'm going to try to be a little more detailed here.  The xml that is returned looks like this:
            0016-03-30
            Mike
            Public Works
            alone in the dark
            Type sleep
            -1
            Council
            FYI
            Important
    Flowed and positioned are actual subforms on the form that have their properties set as their names indicates.  The entire path is /form1/Page1/flowed/positioned .  The way I was able to get the form to flow correctly upon the injection of this xml data, was to bind the subforms in the form in this manner, positioned[*].  Designer didn't place the [*] for me so I had to do this myself.  But once I previewed the document, the form pre-populated and created the necessary number of subforms and placed information into the fields correctly.
    Now on the process side, I have created an xfaform variable that stores the form (bound to xsd.)  information, and another xml variable that stores the query return that looks like the xml listed above (has an xsd associated with it for navigating xpath).  My first operation performs the query (JDBC- Query Multiple Rows as XML) and stores it into the xml variable.  The next step of the process is the Set Value operation which is supposed to inject the xml data retrieved from the query into the form.  Initially I tried the an xpath similar to the following:
    /process_data/object/data/form1/page1/flowed/positioned = /xml_data/flowed/positioned.
    No dice.  On this one the form retains the information filled out by the user (didn't explain this earlier, the form is filled out first, and upon submittal the process starts.), but doesn't pre-populate the bottom part of the form.  Next I tried the following xpath:
    /process_data/object/data/form1/page1/flowed = /xml_data/flowed/positioned.
    This time it retained the form information which was filed in by the user, but the bottom part is becomes hidden!  Didn't understand this.  But I started to kinda think that I had to navigate he xpath in order to correctly inject the xml into the form.  That being said my next attempt was:
    /process_data/object/data/form1/page1 = /xml_data
    My thinking was that if on location, I stop at page1, the xml in the variable will allow it to navigate correctly through the form.  Well it worked, but too well.  The top part of the form is blank, but the bottom portion is pre-populated correctly.  Now I'm stuck.  Not sure how to get the rest of the information in the form.  I thought about creating variables form each of the fields and then re-populating them after the injection of xml, but that didn't seem practical.  I'm almost positive it's something I'm not doing correctly with xpath.  Anyway, thanks for all your help on this.
    Mike

  • How to change a specific element in array

    hi 
    i have an 1d intialized array
    i want to take the existed array and for example add +1 for the 5th element
    how can it be done?
    thanks
    Solved!
    Go to Solution.

    In a typical application you would want to repeat that operation to form a simple histogram. This is most easily achieved by keeping the array in a shift register and repeating the operation in a FOR loop until all data is processed.
    My very simple example from a few years ago can be found here. In this case we are counting the number of occurences of small integers in a 1D array. Modify as needed.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • Mac pro 2.66 Quad Core - boot drive mirrored, replace?

    All, I have a Mac Pro 2.66 Quad Core system. I got all 'sexy' when I set it up - loaded four 1-TB drives in the 4 bays, Mirrored the boot set, also mirrored the secondary set for data. I am getting ready to have these guys filled up (I do lots of vid

  • How to do aging for Net Debit for 0DEB_CRE_LC

    Hi to all, i am doing aging for receivables(0FI_AR_4) for Net debit > 0. I have created CKF excaption aggregation at query level to get Net debit greater than zero, via ( 0DEB_CRE_LC > 0 ) * 0DEB_CRE_LC for every customer. it gives correct result . b

  • HT5517 got an apple TV but cannot get it TV with  HDMI

    cannot get HDMI to activate on Sony bravia bx400 TV with my apple TV

  • Display image from external resource into interactive form

    Hi experts! How can I display an image from a external url, for example "http://www.adobe.com/imageshome/pdfgift_home.gif" ?? I tried to do that: 1. Insert a "Image field" 2. Bind None 3. Embed image data: unselected 4. URL: $record.url     In "url"

  • OGG and firing triggers

    Hi, I am designing and implementing OGG to replicate a set of about 200 tables from a master system to two target systems. Updates to these tables only occur on the master system so this is a 1:n uni-directional situation. The master and target syste