Facing problem in the multiple selection list...

Hi Andy,.

We are facing a problem more...

In the selection of the Menu... Like u given a solution for dropdownlist hide which works very well... but the same logic does not work for the multiple selection list item. Why so...


David...

Published by: David on November 17, 2008 05:22

Hello

If you have added in the Page template, then the P39_BATES_DESCRIPTION will not work. As the P63_ATTRIBUTE_CLASS_CODE is not on the page, javascript will throw an error and that will stop the rest of the code to run.

You can get javascript to test for the existence of a question of fact:

if ($x('P63_ATTRIBUTE_CLASS_CODE')) {$x('P63_ATTRIBUTE_CLASS_CODE').style.display = 'none';}
if ($x('P63_ATTRIBUTE_TYPE')) {$x('P63_ATTRIBUTE_TYPE').style.display = 'none';}
if ($x('P39_BATES_DESCRIPTION')) {$x('P39_BATES_DESCRIPTION').style.display = 'none';}

Andy

Tags: Database

Similar Questions

  • problem in the multiple selection list

    Hello...

    That's my problem... We have a few values in session selection multiple list... these values are highlighted in the list... If wen I try to hide the list im unable to do? I think that its because of the session... wat shal I do nw?

    function hidelist()
    {
    document.getElementById('item_name').style.display = 'none ';
    }

    function showlist()
    {
    document.getElementById('item_name').style.display = 'block ';
    }





    David

    Hi David,

    It is difficult to know what can happen that I can't see your page - this error message indicates that javascript can not see the page element to which you are referring to.

    For example, if I make document.getElementById("ABC").style.display, but the article did a 'BCD' ID I would get this error.

    So, the first thing to check is that the list item is the ID that you think it does. Load the page and do a view Source. Find the selection list and check to see how ID attribute there. If it contains the right ID attribute, then it might be easier if you could save the page view Source and send it to me at... so I can watch it.

    Andy

  • Delete in the database based on the values of the multiple selection list

    Hello

    I have a selectlist in Apex and a function in the database to make a deletion based on the value selected in the selection list.
    FUNCTION delete_batch (v_batch VARCHAR2) RETURN VARCHAR2
    IS
    BEGIN
    IF v_batch like 'M%'
    THEN
       RETURN ('A monthrun cannot be deleted');
    ELSE
       DELETE FROM so_disco_pa
       WHERE  batch = v_batch
       ;
       DELETE FROM so_batch_pa
       WHERE  batch = v_batch
       ;
       COMMIT;
       RETURN ('Batch '||v_batch||' has been deleted');
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
        RETURN ('Batch could not be deleted');
    END delete_batch;
    The package is called when the user clicks on the button Delete with the rest of the process:
    BEGIN
    DECLARE
    x   varchar2(100);
    BEGIN
    x := pa_control.delete_batch (:P3_BATCH);
    :F105_MESSAGE := x;
    END;
    END;
    Now, I want to change the selectlist for a multiple-selection list to make several batches can be deleted.

    How can I change my procedure and the procedure to remove lots based on the values selected?

    Thank you

    Diana

    dianap says:
    I got this far, but only the first batch selected in the list is being deleted. The other values of selected package are not removed.

    Help please.

    Move the RETURN statement out of your loop.

  • How to make default an element selected in the multiple selection list

    Hello

    I'm filling the list of multiple selection of a lov (dynamic lov). Is it possible to do by default one of the selected items in the list.

    Please let me know how to do this...

    Thanks /.

    How do you determine that a particular value of the LOV must be the default?
    You should be able to combine the LOV query and your 'default selection' health by using an SQL statement or a pl/sql function and specify it for the 'default value Type' in the section 'Default' definition of the elements page.

    CITY

  • The value of another field using the multiple-selection list

    Hello

    I have a multi select list as USER name name...
    In these cases, I select several users as For example JOHN AND JACK
    Database that should get both their email ID then fill in textarea (separated by commas)

    As I am new to apex, pls help.

    Welcome to this forum... :))

    What is your version of the database?

    If you use database 11g then you can use the following query for your condition,

    select LISTAGG(user_email, ':') WITHIN GROUP (ORDER BY user_email) from table_name
    where INSTR(':'||NVL(:PX_USERNAME,user_name)||':',':'||user_name||':')>0
    

    instead of PX_USERNAME use the name of your multi selection list.

    Use this query in your textfield.

    Thank you
    Lacombe

  • Creation of Validation for the multiple selection list or shuttle point

    Hello
    I'm new to APEX and have questions about the best way to validate the selected shuttle items to verify that they exist in the sys.dba_roles table before submitting. The shuttle point uses a static LOV. I would like to than the error message to display when there is no such thing as a role selected in the element of the shuttle in the sys.dba_roles table.

    Using version 3.2 of APEX
    DB version 9.2.0.8.0
    Internet Explorer version 6

    I tried to create a validation step level about to shuttle P3_ROLE using SQL EXISTS when you press the button SUBMIT. I know that when argued that the shuttle point returns the selected values in a single string delimited by a colon. I use the APEX_UTIL. STRING_TO_TABLE to convert values selected in a table.

    CODE HERE
    declare
    l_selected APEX_APPLICATION_GLOBAL. VC_ARR2;
    number of l_num;
    Start
    l_selected: = APEX_UTIL. STRING_TO_TABLE(:P3_ROLE);
    BECAUSE me IN 1.l_selected. COUNTY
    LOOP
    Select 1 from l_num of sys.dba_roles where role = l_selected (i);
    END LOOP;
    end;

    This is the error ORA-00928: lack of SELECT keyword
    1006 - ERR error in the validation routine.

    Any advice? Thoughts? Thank you.

    Published by: Violet on Oct 14, 2010 14:50

    Hello

    Your code is PL/SQL block. You cannot use this type of validation with your code.

    Try to change the body type of the function that returns the error text and
    code for this one

    DECLARE
      l_selected APEX_APPLICATION_GLOBAL.VC_ARR2;
      l_num NUMBER;
    BEGIN
      l_selected := APEX_UTIL.STRING_TO_TABLE(:P3_ROLE);
      FOR iIN 1..l_selected.COUNT
      LOOP
        SELECT count(1) INTO l_num FROM sys.dba_roles WHERE role = l_selected(i);
        IF l_num = 0 THEN
          RETURN 'Role not exists';
        END IF;
      END LOOP;
      RETURN NULL;
    END;
    

    Kind regards
    Jari

  • How to use the multiple selection list values in sql query

    Hi all
    In the search form, I have a multiselect llist tell (P3_STATUS) and I want to have a query using this element and fetch documents
    How to do a sql query based on the selection of the value of this element.
    SELECT "W"."START_DT" "Start Date",
           "W"."CAMPAIGN_CODE" "Campaign Name",  
           "W"."MKT_CHANNEL" "Channel",
           "W"."MKT_SUB_CHANNEL" "Sub Channel", 
           "W"."PROMO_CODE" "Promo Code",
           "W"."TRACKING_CODE" "Tracking Code",
           "W"."TFN" "TFN",
           "W"."STATUS" "Status",
           "W"."CAMPAIGN_CODE" "Edit"
           FROM 
             "WC_MKT_CAMPAIGN_DS" "W"
      
           WHERE 
         (MKT_CHANNEL = decode(:P1_CHANNEL,'%null%',MKT_CHANNEL,NULL,MKT_CHANNEL,:P1_CHANNEL))
       AND
    (MKT_SUB_CHANNEL= decode(:P1_SUB_CHANNEL,'%null%',MKT_SUB_CHANNEL,NULL,MKT_SUB_CHANNEL,:P1_SUB_CHANNEL))
    AND *STATUS = decode(.................*
    Please could someone help me on this?

    Thanks in advance
    Robert L

    Try to change your selection of status to

    AND INSTR(':'||:P3_STATUS||':',':'||STATUS||':') > 0
    
  • Limit of characters in multiple-selection list

    Hi people,

    Throw this out there to see if anyone has had this problem, and how they may have gotten around him.

    It seems that the Multi Select lists have a limit of 1000 characters, i.e. If you select so many items in the list and its over 1000 characters, you cannot save the file.

    I would like to say that ok we will have to just a few lists rather than a big workaround, but the customer fixed the list up in this way, and now that we create the hypersite to allow them to select items in this list, it's possible they could try on the hypersite select all. Clearly, it seems that we will have to have validation on the website to ensure that they do not select more than 1000 characters of a value of items in the list, but it would be useful if there was a way Eloqua to enable this.

    The one you have any ideas/advice?

    Something is very appreciated.

    Thank you

    Andrew Mc.

    I think the challenge is that the multiple-selection list is already built and already used in other functions.

    Andrew - you're right that to resolve this problem, you would have to update the list in Eloqua (again, just the option values, not the option names) and also the list in SFDC - you are on right track here.

    I hope this helps!

  • Multiple selection list

    I have a web form that I need to allow users to select multiple items in a list.  I 'google' and can not find an answer.

    The application has 2 parameters.

    < %

    Dim HoursWorked_PP__varTI

    HoursWorked_PP__varTI = '% '.

    If (Request.QueryString ("TI") <>"") then

    HoursWorked_PP__varTI = Request.QueryString ("TI")

    End If

    % >

    < %

    Dim HoursWorked_PP__varPP

    HoursWorked_PP__varPP = '% '.

    If (Request.QueryString ("PP") <>"") then

    HoursWorked_PP__varPP = Request.QueryString ("PP")

    End If

    % >

    < %
    Dim HoursWorked_PP
    Dim HoursWorked_PP_cmd
    Dim HoursWorked_PP_numRows

    Set HoursWorked_PP_cmd = Server.CreateObject ("ADODB.Command")
    HoursWorked_PP_cmd. ActiveConnection = MM_Connection_STRING
    HoursWorked_PP_cmd.CommandText = "SELECT * FROM dbo.vw_HoursWorked WHERE COLUMN_NAME =? and PP =?

    HoursWorked_PP_cmd. Prepared = true
    HoursWorked_PP_cmd. Parameters.Append HoursWorked_PP_cmd. CreateParameter ("param1", 200, 1, 255, HoursWorked_PP__varTI) ' adVarChar
    HoursWorked_PP_cmd. Parameters.Append HoursWorked_PP_cmd. CreateParameter ("param2", 200, 1, 255, HoursWorked_PP__varPP) ' adVarChar

    Set HoursWorked_PP = HoursWorked_PP_cmd. Run
    HoursWorked_PP_numRows = 0
    % >

    From my research, I tried:

    < %
    WorkedDate = Request.form ("WorkedPP") ' info from a string conversion

    MakeDate = Replace (WorkedDate, ",", "" OR WorkedPP = "" ") ' replace comma-space of a single quote - or WorkedPP = - singlequote
    % >


    < %
    Dim HoursWorked_PP
    Dim HoursWorked_PP_cmd
    Dim HoursWorked_PP_numRows

    Set HoursWorked_PP_cmd = Server.CreateObject ("ADODB.Command")
    HoursWorked_PP_cmd. ActiveConnection = MM_Connection_STRING
    HoursWorked_PP_cmd.CommandText = "SELECT * FROM dbo.vw_HoursWorked_PP_Sum WHERE COLUMN_NAME =? and PP = ' "' & MakeDate &" ' "
    HoursWorked_PP_cmd. Prepared = true
    HoursWorked_PP_cmd. Parameters.Append HoursWorked_PP_cmd. CreateParameter ("param1", 200, 1, 255, HoursWorked_PP__varTI) ' adVarChar
    HoursWorked_PP_cmd. Parameters.Append HoursWorked_PP_cmd. CreateParameter ("param2", 200, 1, 255, HoursWorked_PP__varPP) ' adVarChar

    Set HoursWorked_PP = HoursWorked_PP_cmd. Run
    HoursWorked_PP_numRows = 0
    % >

    Any help or a point in the right direction?  I'm not sure, but I can't find a solution to allow multiple selection lists.  If I change the query to use IN, then the URL string has always tried to use 'AND' so the results are null.

    Thanks for any help!

    Crystal

    WHERE COLUMN_NAME = lamyae and PP IN ("varPP")

    No, what I wanted was that you should analyze varPP and wrap all the values inside quotes. You must also put parens around all this. Therefore, this:

    "option 1, option 2, option3 ' who comes to the selection list is converted to this:

    '(' option1', 'option2', 'option3').

    I posted here a few years ago code to achieve this, but I did not practice routine. See if you can search for it.

  • A report of a multiple-selection list-based filtering

    Hey guys,.

    I have an interactive report that should be filtered by a value from a multiple selection list.
    AGENCY Multi-Select
    ----------------------
    ABC:DEF:GHI:DEF
    My question is, if there is a way to compare the: APP_USER to multiple selection list and have a line appears only if she does?

    For example something like a "where" clause
    where APP_USER is Contained within Colon Delimited List "AGENCY"
    See you soon,.
    Mauricio

    Select * from table_name
    where
    InStr (: multi_select_field_name,: app_user, 1) > 0

    Kind regards
    Shijesh

  • as display 2 columns in a multiple select list

    Hi, I want to ask if it is possible to have 2 column display in a multiple selection list.


    in my case, I have a multiple selection list where seminars are displayed, but I also want to add the name of half as exposed as well.

    I have 2 tables:
    Seminar (where the id name and half of seminars are stored)
    semester (semester name)

    My atm code
    select s.name as D,  -- how to add the semester name?  
             s.id as R
    from seminar s, semester sem
    where s.semester = sem.id
    I need to add half as display name


    Thank you for your attention


    Danny

    Hello

    You can do the following:

    select s.name||' '||sem.semester_name as D,  -- how to add the semester name?
             s.id as R
    from seminar s, semester sem
    where s.semester = sem.id
    

    for example, concat the seminar name & name semester

    See you soon
    Matt

  • It can't open word document because an importer of appropriate chart is not found. I had this problem and the technician "selected" Word as an opener, but I don't know where to find them on my computer. __

    Cannot open word document because a

    "appropriate graphics importer is not found."

    I had this problem and the technician "selected" Word as an opener, but I don't know where to find them on my computer. Can you direct me while I have when I want the word docuents to open they will be?

    Right click on the saved file.
    Select: Open with on the shortcut menu.
    Click: Choose [default] program
    Letter: Microsoft Word
    Check: Always use the selected program to open this type of file.
    Click OK.

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • My problem is: the photos are listed in descending order. I need them in ascending order.

    * Original title: Photo Arrangement

    I have a real problem with my understanding of photo.

    I am producing a slideshow on my travels in Asia over the period 2008-2015.

    All the photos are in individual folders by year. I also arranged their by the date.

    My problem is: the photos are listed in descending order.  I need them in increasing order - first photo of the last picture taken on a given date. Otherwise, I can't import individual files in my photoshow software because it displays the last picture taken 1.

    I can't find a link or an option to have this way.

    Does anyone know how to get the arranged in ascending order?

    Sunday, July 5, 2015, 13:51:46 + 0000, boongsongum wrote:

    I have a real problem with my understanding of photo.

    I am producing a slideshow on my travels in Asia over the period 2008-2015.

    All the photos are in individual folders by year. I also arranged their by the date.

    My problem is: the photos are listed in descending order.  I need them in increasing order - first photo of the last picture taken on a given date.

    With photos or anything else:

    You can sort the files in a folder by clicking on the header of the
    field you want to sort, such as the Date.

    You can reverse the sort order, down to bottom-up,
    or vice versa, by clicking on the header a second time.

  • I am facing problem in the use of applications of windows8. I am not able to use even a single App. What shoulg do. ?

    I am facing problem in the use of applications of windows8. I am not able to use even a single App. What shoulg do. ?

    Hi Shubham,

    You receive an error message when you try to use the Apps in Windows 8?

    Exactly how have you connected to the computer (Microsoft Account or Local account)?

    follow these steps to solve the app suggested you nuisance.

    Method 1:

    Run applications troubleshooting

    I suggest you to download and run the troubleshooter modern UI App.

    http://download.Microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab

    Method 2:

    I suggest you follow the steps in the article. Here is the link for your reference.

    What to do if you have problems with a soft

    http://Windows.Microsoft.com/en-GB/Windows-8/what-troubleshoot-problems-app

    Method 3:

    I suggest that you check the proxy settings because if you use the Proxy Server, then the Apps in Windows 8 will not work.

     

    a. click on thegear box in the upper right corner in Internet Explorer.

    b. click onTools and then click Internet Options.

    c. click on theConnections tab, and then click LAN settings.

    d. Uncheckuse a proxy server for your LAN .

    e. clickOk.

    Hope the helps of information provided.

  • Hello I am a student and I have a problem with the tool Selection (V). When I opened the file AI CC with CS6 selection tool doesn't allow me to change the selection. What can I do? (I have reinstall AI CC and the problem persists)

    Hello I am a student and I have a problem with the tool Selection (V). When I opened the file AI CC with CS6 selection tool doesn't allow me to change the selection. What can I do? (I have reinstall AI CC and the problem persists)

    Ivan,

    If it's on the rectangular objects, you may have encountered the bug Rectangle Live which is limited to the MAC versions from 10.7 and 10.8, but not of 10.9 (Mavericks) or 10.10 (Yosemite). If all goes well, the bug will be fixed soon.

    Thus, a switch for the Mavericks or Yosemite with a reinstall might be the way to solve it here and now.

    To get around it, in each case, it is possible to develop direct Rectangles to get the normal old shaped rectangles or Pathfinder > unit, or use the scale tool or the free transform tool.

    A more permanent way round that is to create normal old shaped rectangles, after running the free script created by Pawel, see this thread with download link:

    https://forums.Adobe.com/thread/1587587

Maybe you are looking for

  • El Capitan and Hulu

    So last night I upgraded my MacBook Pro OS 10.11.5 El Capitan. Tonight, I'm going to watch a TV show with my Hulu account using a Firefox browser. The show stops about a minute in and I get a screen "display of protected content problem", showing the

  • Create a playlist

    Hello I'm waiting for my new ipod to deliver and to save time I would like to know if I can build a playlist in itunes, then as soon as I received the ipod everything I have to do is sync it with itunes. Is this possible? Thanks in advance best regar

  • Family safety control turns off the PC?

    I installed the family security check on a PC with Windows 7. Parental control turns off the PC whene the time I have instald (while my son can use the PC) has reached? Best regards

  • How to enable bluetooth with Windows 8

    Hello I installed windows 8, but bluetooth are not currently active. Because I had to get 16 GB to install windows 8, I do not know now how to start bluetooth Preben

  • 8600 only prints black text

    I can print pictures in color with my HP8600 but all the text - no matter of what color is selected - print in black.  I just changed all color cartridges.  They are all HP cartridges.  The parameters are high quality grayscale and printing all black