Dynamic return for LOV element

Hi all

IM using forms 6i.

Im having a lov in my form.

For ex:
   emplcode      emplname
   1              test
   2              test2
   3              test3
  
Now I am having 3 items in my forms such as emplcode, emplname touser.

I put the return value of the column emplcode lov to the point emplcode and emplname emplname developed.

Its working fine. But I want to use the very lov to touser point also.

My problem is that I gave the return value from the lov as two other items, not able to fill touser point Im.

So is it possible to change the point of return of the lov dynamically?

Or how?

Concerning
Sankar MN

Published by: SankarMCA on October 18, 2010 06:56

Published by: SankarMCA on October 18, 2010 06:56

Hello
You cannot change the return value of lov dynamically.

But you can take a tour.

1. create two GLOBAL VARIABLES or PARAMETERS in the form.
2. in the LOV return write just the GLOBAL VARIABLE or NAME of PARAMETER value.
3. for each item where you want to return values in the lov, set the lov name in property that LOV.
4. now, for each item where you attached that LOV, create a trigger called KEY-LISTVAL and use the code below.

-- In example i am using GLOBAL VARIABLES...
:GLOBAL.EmpCode:=NULL;
:GLOBAL.EmpName:=NULL;
LIST_VALUES;
IF :GLOBAL.EmpCode IS NOT NULL THEN
  :form_code_field:=:GLOBAL.EmpCode;
  :form_name_field:=:GLOBAL.EmpName;
END IF;

Hope it will work :)

-Clément

Tags: Oracle Development

Similar Questions

  • How can I display the display value for an element of lov in another area

    My page has a few elements that allow the user to select specific criteria for their report.
    pn_person - select point based on lov. Lov shows the name of the person and returns the code of the person in pn_person

    When the user has made their choice, they press a button that the report is generated.

    I want to do is show the display value for one of the search fields in the title of the report (for example, person_name) region. I think to do that I need to create a (hidden) pn_person_name point, then I put & pn_person_name. as a region

    However, how can I get the value of pn_person in pn_person_name display?

    I thought that apex_item.text_from_lov, but don't know how to use it - what elements (types), the calculations / process I need to create...

    THX Caron

    Published by: user11267129 on January 7, 2010 15:01

    Published by: user11267129 on January 7, 2010 15:02

    Published by: user11267129 on January 7, 2010 15:02

    Caron:

    You can use javascript to set the value of 'pn_person_name' to display the LOV selection value.
    Set the form field HTML to the elements attributes for the element of selection as list page

    onchange=$s('PN_PERSON_NAME',this.options[this.selectedIndex].text)
    

    CITY

    Published by: city has on January 7, 2010 17:22

  • I bought Photoshop Elements by accident, I can return it for Premiere Elements?

    I bought Photoshop Elements by accident, I can return it for Premiere Elements? I placed my order a few minutes ago. I realized that I had bought Photoshop Elements by accident during my test of Premiere Elements would not accept my series. I really hope I can return this license, please help.

    CSO

    It's not Adobe, instead of a user to.

    Adobe is the only one to solve your problems of orders.

    Instructions are available

    https://helpx.Adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html

    I suggest generally online Adobe Chat in order to solve the problem.

    Contact the customer service

    First Elements

    Payment of membership, account,

    Payments, invoices, orders

    Panel discussion

    If the link does not take his game, then you will need navigate Panel cat using securities above as a guide.

    Two paths to the orders ends probably in the same place.

    Please let us know the result as your time permits.

    Thank you.

    RTA

  • Dynamic action for validation of date with the notification message plugin

    Hi all

    Someone help me please with dynamic action for validation of date with the message notification plugin. I have a form with two elements of the date picker control and message notification plugin.

    The requirement first user selects the exam is finished and then selects the date. So, if the date is greater than the date of the examination is over + 2 years then doesn't trigger the message notification plugin. I tried to create that dynamic action on the date picker date that triggers the scheduled issue notification message but I want to make conditional, I mean displays the message only if date of the selected is greater than the date of the exam is finished more than 2 years.

    In terms simple, notification is displayed only if provided is superior to (date of the exam is completed + 2 years).

    I use oracle apex 4.0 version and oracle 10g r2 database. I tried to reproduce the same requirement in my personal workspace. Here are the details. Please take a look.

    Workspace: raghu_workspace

    username: orton607

    password: orton607

    APP # 72193

    PG # 1

    Any help is appreciated.

    Thanks in advance.

    Orton.

    You can get the value of the date of entry:

    $(ele) .datePicker ('getDate');

    So what to add functions such as:

    function validateNotification (d1, d2) {}

    Date1 var = $(d1) .datepicker ('getDate');

    date2 var = $(d2) .datepicker ('getDate');

    if(date1 && date2) {}

    return ((date2.getTime()-date1.getTime())/(1000*24*60*60))>(365*2);

    } else {}

    Returns false;

    }

    }

    The logic based on setting (I have two years from years of 365 days preceding)

    Then in the D.A. specify a JavaScript expression as:

    validateNotification ('P2_REVIEW_COMPLETED', this.triggeringElement.id)

    Refer to page 2 for example.

  • 2 dynamic action for an item

    I have two dynamic actions for an item from the selection list that is loaded from an element of Cascade LOV.

    Dynamic action 1:

    Name: d1
    Condition: Value = "EXPECTED".
    true action: see the 'Solution' element.
    action of false: hide a 'Solution '.

    Dynamic action 2:

    Name: d2
    Condition: Value = 'OFFERED '.
    true action: see the 'Solution' element.
    action of false: hide a 'Solution '.

    That's happened? If only works with the dynamic action of d1 or when I did some changing works with dynamic action of d2. I unchecked the field "load fire on the page" but it did not work. I think that there is perhaps some collide with them but I analyzed it, but I can't find. Thanks in advance.

    Another thinks I want to ask is how to order values in a select list... with this code above indicate me the values in the following order: closed, lift, open, waiting. But I want the values in the following order: open, pending, climbing, closed. How can I do?
     select distinct STATUS as display_value, STATUS as return_value 
      from HD_STATUS
     order by 1
    Best regards, Bernardo.

    Ah so. It's actually easier then.

    You'll have an installation DA your d1 is configured with the following differences:

    Name: d1
    Event: Change
    Selectio type: Item(s)
    Item: P10_SUBSTATUS
    Condition: Javascript expression
    Value: $v('P10_SUBSTATUS')==='PLANNED' || $v('P10_SUBSTATUS')==='OFFERED' 
    
    true action: Show "Solution" item,
    false action: Hide "Solution" item.
    
    Nothing in the Condition box that currently has the PL/SQL expression. (Make sure to select "None" as the condition type in the condition box)
    

    You need basically the GOLD option that is provided above as Javascript. ' | ' is the operator or if you are not familiar with JS. ' = ' means exactly equal to, and possibly "==", equal to so you could also put it this way.

    Should have thought first of this route.

    Published by: Bob37 on June 28, 2012 16:15

  • regular expression for LOV?

    I have a list of strings in a LOV. I tried filtering by typing in ' ^ disc "in the search bar, that I hope will return a list of strings starting with 'disc', but I failed.

    Any idea on how to use regular expressions for LOVs? Thank you!

    HI Buffalo,

    I have an element of the selection list in my named page1: P1_EMPNAME with the value of query lov

    Select ename, ename from emp WHERE EGEXP_LIKE(ename,:P1_SEARCH) r like as or: P1_SEARCH IS NULL

    I have a text box search in my page 1 name: P1_SEARCH

    When I run the page, by default all empnames appear in the lov list item
    I gave ^ bison in the element of text search and click on the button submit, it shows the buffalo employee in my lov point list.

    If you want all entries beginning with S, get ^ s
    Ends with R, use r$

    Please try this link http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28424/adfns_regexp.htm

    Thank you
    Logaa

  • Serial number not accepted for Photoshop elements 14

    I spent $ 80.00 for Photoshop elements 14.  The serial number was not accepted for 'product' what gives? How do I get my money back?

    Have you purchased directly from Adobe or from another provider?

    You have a serial number, or a redemption code?

    Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

    - and https://forums.adobe.com/thread/1572504

    Back https://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html

  • Retrieve existing license for Photoshop Elements

    OK, having now retired to return to Photoshop Elements, I've not used since 2007.  I have a version purchased v Adobe Photoshop Elements 5.0 for Windows since May 8, 2007.  I have now moved from Windows to Mac from Windows long since retired machine.  Is there a way to upgrade using my existing license or do I have to start again... Thanks, Mike

    You can upgrade, buying guide : comparison of the version. Adobe Photoshop Elements 13

  • WSSE-Server CodecHandler toUnable Failed to find the xml for setting element

    Hi all
    I invoke a Java webservice with signature and encryption (WSSE) of the soap message in my client program.
    The webservice is built with a JWSC ant task and deployed in weblogic 10.3.2 I get the below exception when calling it.
    I invoke a web service that takes a string as input and returns a string output. This web service uses the signature and encryption on both directions.
    I checked the public/private key certificates and everything seems to be ok.
    I don't know how to fix the sub question. Let me know if you have encountered this problem and it is solved.


    -[HTTP - https://cdctdevapp:7042/casestatusservice/CaseStatusService - 500 response]-
    Date: Monday, October 15, 2012 03:24:12 GMT
    X-powered-by: Servlet/JSP/2.1 2.5
    Content-type: text/xml; charset = utf-8
    Encoding: segmented
    NULL: HTTP/1.1 500 Internal Server Error
    < env:Envelope = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:env > < env:Header / > < env:Server env:Body > < env:Fault > < faultcode > < / faultcode > < faultstring > [CodecHandler Server] could not decode
    -& gt; Could not find the xml for setting element: message
    < / faultstring > < details > < bea_fault:stacktrace xmlns:bea_fault = "http://www.bea.com/servers/wls70/webservice/fault/1.0.0" > weblogic.wsee.codec.CodecException: could not find the xml for setting element: message
    at weblogic.wsee.codec.soap11.SoapDecoder.checkNullElement(SoapDecoder.java:397)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodeParams(SoapDecoder.java:285)
    at weblogic.wsee.codec.soap11.SoapDecoder.decodeParts(SoapDecoder.java:172)
    at weblogic.wsee.codec.soap11.SoapDecoder.decode(SoapDecoder.java:125)
    at weblogic.wsee.codec.soap11.SoapCodec.decode(SoapCodec.java:182)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.decode(CodecHandler.java:139)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleRequest(CodecHandler.java:40)
    at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:114)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    to weblogic.wsee.server.servlet.BaseWSServlet$ AuthorizedInvoke.run (BaseWSServlet.java:285)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3717)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    < / bea_fault:stacktrace > < / details > < / env:Fault > < / env:Body > < / env:Envelope >.

    < WSEE:1 > create < SoapMessageContext. < init >: 48 >
    < WSEE:1 > set Message called: com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl@996b65 < SoapMessageContext.setMessage:65 >
    < WSEE:1 > set Message called: com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl@996b65 < SoapMessageContext.setMessage:65 >
    < WSEE:1 > set Message called: com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl@996b65 < SoapMessageContext.setMessage:65 >
    < WSEE:1 > set Message called: com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl@996b65 < SoapMessageContext.setMessage:65 >
    Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: [CodecHandler Server] could not decode
    -> Could not find the xml for setting element: message

    at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:197)
    at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
    to $Proxy27.sayHello (Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
    at java.lang.reflect.Method.invoke (unknown Source)
    at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
    to $Proxy28.sayHello (Unknown Source)
    at org.adr.nydcci.wss.ws5UntSignEncryptHttps.client.ws5UntSignEncryptHttpsPortClient.main(ws5UntSignEncryptHttpsPortClient.java:44)

    Thank you very much, Sunil. I could solve the problem.
    Demand has been framed properly, as my annotation TJS for my client was pointing to a fake name.
    fixed the ' @WebParam (name = "") ")" attribute to my client and it worked well. " The problem is solved now.

    Thank you
    Sriram

  • How to create a validation "not null" unique for all elements in a page?

    Hello world

    How to create a validation "not null" unique for all elements in a page? I love textfields. Rather than create "not null" validation for each article, I would like to create a single validation control that will be used

    Thanks and greetings
    Umer

    Nice1 wrote:
    Bob, like u said I did the following:

    (1) less to create a button, there are 9 elements, and for each item, I put in the light of 'yes '.
    (2) under the button Delete, there is 1 point and have in light of the 'Yes' for the item
    (3) validation of the page defined for the 9 items under 'create a button' and put it to fire when 'create' button clicked
    (4) the page validation set for 1 number under 'remove' button and put it on fire when "delete" button clicked

    now, when I click on the 'create' button it shows same for the item under the "Delete" button that's a required element

    Sorry, I do not see this note. The required model will not work, there is no way to attach it to the button.

    The best solution is that the answer only a few answers to the top

    Create 2 validations page type as a PL/SQL with code

    1st validation
    
    :P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL  include all 9 items
    
    Set the When Button Pressed to the CREATE button
    
    2nd validation
    
    :P1_ITEM10 IS NOT NULL
    
    Set the When Button Pressed to the DELETE button
    

    I think that this will be the best way to do it.

    Published by: Bob37 on April 27, 2012 12:02

  • New dynamic button for printing

    How to create the new dynamic button for printing in the dashboard?
    Before that I created the button with code below, but when I select the command prompt, the query depend on prompt will be changed, but the print page not be changed. Is it possible to solve my requirement? Thank you.

    < input type = "button" name = "Button" value = "Print" onClick = "window.open ('http://prcsgi03162:9704/analytics/saw.dll?Dashboard & CheminPortail = / shared, Kobe, _portal, kobe & Page = 9 & Action = Print & Format = pdf', 'Download');" return false; ">

    Published by: kobe on November 23, 2011 00:19

    Hello

    In your onclick try to paste the below:

    onClick = "return PortalPrint ("saw.dll? Table edge & CheminPortail = / shared, Kobe, _portal, kobe & Page = 9 & Action = Print & Format = pdf', true); return false; »

    Thank you

  • Download error for Photoshop Elements on my Mac 10.5.8. Help!

    Download error for 11 elements Photoshop on my Mac 10.5.8. After you download and have passed the serial number information, the below error occurs. I rebooted the computer and reinstalled the application installation process several times now. Help!

    Exit code: 7

    -------------------------------------- Summary --------------------------------------

    -0 fatal Error (s), 12 (s), 13 WARNING (s)

    WARNING: DW066: OS requirements not met for {FA19351D-E98C-48C1-B5E1-0C8C42B5E11C}

    WARNING: DW066: OS requirements not met for {F7FD5B5C-CE79-4657-AEB7-B0EE4626C912}

    WARNING: DW031: payload: camera profiles Installer 7.0.0.0 {F6F5021E-0548-43C1-82CC-C5C7A6906585} has been updated and has been selected for repair. The patch {0449467E-102A-4514-9F4D-91BCEE129390} Installer_7.1_ElementsCameraRawProfile7.0All camera profiles 7.1.0.0 are uninstalled now.

    WARNING: DW031: payload: camera profiles Installer 7.0.0.0 {F6F5021E-0548-43C1-82CC-C5C7A6906585} has been updated and has been selected for repair. The patch {0449467E-102A-4514-9F4D-91BCEE129390} Installer_7.1_ElementsCameraRawProfile7.0All camera profiles 7.1.0.0 are uninstalled now.

    -Payload: {64191879-379D-4ADF-9D1E-929FC71E7218} items 11 Organizer 11.0.0.0.

    ERROR: DW030: a Custom Action for payload {64191879-379D-4ADF-9D1E-929FC71E7218} items 11 Organizer 11.0.0.0 returned error. Failure to comply with this payload.

    WARNING: DW036: payload cannot be installed due to the failure of the operation dependent

    WARNING: DW036: payload cannot be installed due to the failure of the operation dependent

    WARNING: DW036: payload cannot be installed due to the failure of the operation dependent

    WARNING: DW036: payload cannot be installed due to the failure of the operation dependent

    WARNING: DW036: payload cannot be installed due to the failure of the operation dependent

    WARNING: DW036: payload cannot be installed due to the failure of the operation dependent

    WARNING: DW036: payload cannot be installed due to the failure of the operation dependent

    WARNING: DW036: payload cannot be installed due to the failure of the operation dependent

    WARNING: DW036: payload cannot be installed due to the failure of the operation dependent

    ERROR: DW050: the following payload errors were found during the installation:

    ERROR: DW050:-Adobe WinSoft Linguistics Plugin CS5: installation failed

    ERROR: DW050:-Photoshop Camera Raw for 11 elements: installation failed

    ERROR: DW050:-organiser of 11 items: due to a lack of Language Pack installation

    ERROR: DW050:-Organizer_AdobeElements11Organizer_en_US of 11 items: installation failed

    ERROR: DW050:-Adobe XMP panels CS5: installation failed

    ERROR: DW050:-AdobeTypeSupport CS5: installation failed

    ERROR: DW050:-Adobe CS5 language: installation failed

    ERROR: DW050:-AdobeCMaps CS5: installation failed

    ERROR: DW050:-Adobe Photoshop Elements 11_AdobePhotoshopElements11_en_US: installation failed

    ERROR: DW050:-Adobe Photoshop elements 11: due to a lack of Language Pack installation

    you do not meet the system requirements:

    • Multicore Intel® processor
    • Mac OS X v10.6 by v10.8
    • 1 GB of RAM (2 GB for HD video functions)
    • 4 GB of free space (additional space required during installation)
    • display resolution 1024 x 768
    • DVD-ROM drive
    • QuickTime 7 software required for multimedia features
    • Internet connection required for Internet-based services *.

    Update your operating system.

  • Different value for the element on the page on different areas on the same page?

    Hi all:

    I use APEX 4.0.6 and I have a page with 4 regions and each of the region shows a classic report which SQL is very similar to the other:

    for example

    For region 1, the SQL looks like select * from history where status = 'A ';
    For region 2, the SQL looks like select * from history where status = 'B ';.
    For region 3, the SQL looks like select * from history where status = 'C ';
    For region 4, SQL looks like select * from history where status = ';

    To optimize database performance, I like to create a page element called p_status_value on this page and using the syntax of following link for the SQL statement for all 4 regions:

    Select * from history where status =: p_status_value;

    However, I need this page element value is dynamically change for each region:

    For region 1, p_status_value = "A";
    For region 2, p_status_value = 'B ';.
    For region 3, p_status_value = 'C ';
    For region 4, p_status_value = ';

    Also, I need hide this element of the page on this page.

    Can someone show me how to do this?

    Thanks in advance!

    Kevin

    Published by: Kevin Zhang on May 10, 2011 13:03

    Then I would have 4 regions, with each region report, create a box item in each area, called PXX_REGION_VALUE and then your request is:

    select * from history where status = :PXX_status_value_X; (XX for page # and X for region #).. The database engine will crunch through the query and your dashboard will work fine..
    
    Thank you,
    
    Tony Miller
    Webster, TX
    
    If vegetable oil is made of vegetables, what is baby oil made of?
    
    If this question is answered, please mark the thread as closed and assign points where earned..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
    
  • Permutation of loaded xml of Images for the elements in the scene?

    Hello!

    I have a quick question on xml loaded images.

    You can add/attach/swap images for the elements in your scene?

    I would like to manually animate a movieclip using the interpolation of keyframes and the movement. For example, to have a movieclip FLY! on the screen! lol but I want it to be one that has been dynamically loaded image.

    I can't find how to replace an image on a movieclip from a dynamically loaded image.
    Is it still possible?

    Thanks heaps for your time that you guys!

    If the original image is the only object in the movieclip, you can use removeChildAt (0) to get rid of it and use addChild (your_new_image) to replace it.

  • Can I programmatically change the default property to create for all elements of the front panel?

    Can I programmatically change the default property to create for all elements of the front panel?

    I need to make the logout button, when click on, takes care of all the default values of my fron Panel.

    There is no way to programmatically call the functionality of an editor 'Use default' or 'Load Default'. To do it yourself, you will need to write your default values for each control explicitly in the diagram, when the user press the logout button.

Maybe you are looking for