Choose the values of the list - HELP!

Assume that query test01 values are "9,2,20,21,27,97,28,29,121,93,32".
When I submit the form, the selected values are different from what he was selected. what I've done wrong?

In this part, < cfoutput query = "test01" >
< value = "" #test01.index_id # the option ' < cfif form.colorname contains test01.index_id > selected = "selected" < / cfif > / > #test01.colorname #"
< / cfoutput >

I think this fails because form.colorname has multiple values.
I want to preserve selected values when the form is submitted. If there is a selected value which means form.colorname has a value, then there is no problem; However, if it contains multiple values, the selection list has unexpected values are selected. The selected values must be selected after due form.

Can someone correct me? I worked this code for long hours, but I see no way to remedy. I tried the feature list, but it did not work for me.

HandersonVA,

Contains returns true if a string contains another string. The expression below YES displays because the string "21,27, 97 ' contains the string ' 9'. This isn't the right type of comparison for what you are trying to reach.

YES

To determine if the '9' value is contained in a list of values, use ListFind or ListFindNoCase list functions:

YES

Tags: ColdFusion

Similar Questions

  • How to choose the item value list based on another value of list item

    Hello friends,
    I have two list items named xxx and yyy... OK, my problem is I want to choose a value of yyy list item based on the value of article xxx...

    Example: I select 'Computer' in xxx... Based on this I want to choose the item values in yyy as a monitor, keyboard, mouse, etc... This must be done at run time. How can I do this... Give me a few examples of code [pls tell me trigger appropriate to place this encodings]
    Thanks in advance,
    Battistelli

    Very simple to use the LOV and query of the lov which is attached to the YYY field, use the query as below...

    SELECT columns
    FROM table
    WHERE column_name = :XXX_FIELD
    

    Use the ENTER OF LIST Yes property for the YYY field.

    -Clément

  • Help extract value from the list defined by the

    Hi all

    I posted this question in the forum of PL/SQL (help to extract the delimited list values by the but as Justin answered, there may be a solution in APEX, so I wanted to ask here as well.)

    ----------

    I have a procedure similar to that below and I'll send IN parameters from a screen of Apex.
    procedure getData (p_param1 in varchar2, p_param2 in varchar2)
    is
    begin
    
    
    for x in (select col1, 
                  from table
                  where colx = param1
                  and coly in (param2)
                  )
                  
    ....
    
    end;
    It works fine until the user chooses several values on the page of the Apex (that's a multiple selection list box). The values are passed to the procedure in a colon delimited list, it looks like
    VALUE1:VALUE2:VALUE3
    My question is, how can I analyze the values while the where clause looks like.
    ...
    where colx = param1
    and coly in ('VALUE1','VALUE2')
    ...
    or something like that?


    Thanks for any help.

    -Chris

    Chris,

    See this example:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:138

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • How to add a new application to the list "Choose the Helper Application"?

    I regularly download a wide variety of files based on text using Firefox. Most of the time, I want to open it with Notepad ++. Before, after, I opened the first file using Notepad ++ (selected through her Browse... button), the application are in the auxiliary list "choose the Application". However, I recently replaced my PC, and it is no longer the case. Now, I need to click Browse... and navigate through the file system every time to find Notepad ++ .exe, which is wasting time.

    Please note that I don't know to associate the types of files - as mentioned there are a lot of different file types, and I want just Notepad ++ appears in the list of the menu.

    Have you tried right clicking on such a file in Windows Explorer and the value of this file (temporarily) as the default application?

  • The list of values Swich, need help

    Hello! I have two elements LOV in my form! When I change the first element, then the second LOV values need to change. I use the list of values Switcher! (see: http://my.jetscreenshot.com/2677/20100713-r6tu-74kb), but when I run my page, change first LOV, nothing happens with the second LOV. But when I go to another page and back and then second LOV changed values. The two LOV I have true AutoSubmit. Abyone can tell, where is the problem and what to do?

    Best regards!

    Hi Debuger,

    First, double-click the second entity and goto option dependencies LOV field and just select LOV first field on the left and move it to the right...
    This is because once the first LOV posted value in the entity it will update the secod one too...

    Kind regards
    Suganth.G

  • Select the list with propose pulling the values of %

    Hi all

    I have a tabular presentation of data app and from views of the choices selected in the 'list of selection with submit' the post, it works very well for the chosen values, when I choose '%' I want to display all existing records in the form of tables, but instead he said: "no data found". How to solve this? Kindly help and advice.

    ex:

    Query tabular-

    Select a, b
    table
    When a type: POINT

    Agenda:

    Type: select the list to submit
    Named LOV:
    Select a d, a r
    from table_recherche by 1

    Receive your answer.

    Thank you and best regards,
    Senana

    Hello

    You have to check what is the value returned by the selection list when you select '%' in the select...
    There is a null value to display field where you can enter '%' and the return NULL value you enter 0

    then change your query in a table
    Select a, b from table when one like: POINT GOLD: ITEM = 0

    Kind regards
    Shijesh

  • Switch poplist display of the list item selected for its value of list item

    Is it possible to change the display in a poplist of the list item to its corresponding list item value?

    For example, I have a list item is filled with a group of records. Name of the country (e.g., Canada) is the list item, and the country code (e.g. CA) is the value of a list item.

    I want users to be able to see the names of countries, when the list is expanded. However, once users choose and click on a country, the country code must be included in the display.

    I suppose that if it is possible to do at all, he would be using a trigger a times-news-point-instance, but I do not know where to go to from there. Please let me know if you need clarification or more information from me. I'd appreciate any help you can give me.

    With the help of Oracle Developer Suite 10 G
    Version of Forms - 9.0.4.3.0

    Hello
    Welcome to the forum,

    Just an idea. Why you do not keep the country with the description at the time code. I mean, it's like you say you query group will be like this...

    SELECT code, description
    FROM table_name;
    

    So, I mean just change this query to concatenate the code with description. for ex.

    SELECT code, code||' - '||description as description
    FROM table_name;
    

    It will show you the code and the name in the list. So, it will not trigger etc.

    -Clément

  • By programming the auto scroll value multi-column list boxes?

    I have a Multi column list box control that I put off (for indication only) which is used to show the progress.

    When a profile is loaded in the list box if this profile causes the scroll bar to become active it's obviously disabled and if the user cannot scroll

    That the control is disabled, the scroll bar is also disabled is there anyway that I can programmatically on the AutoScroll scroll bar?

    Hello

    You can use the property of the listbox multicoum ' cell upper left Visible.

    If your listbox multicoloum is disabled you can put vertical cursors or something on the front and give the value of the cursor to the line/Coloum (vertical scrollbar) and Coloum for the horizontal scroll bar to the "cell upper left Visible.

    Hope this helps

    Concerning

    David

  • can someone help me choose the right program to open my file on the desktop?

    Try to open the game of chess. It prompted me to choose another file to open chess game of Titian. So I did it by clicking on the internet window explore. now all the progress or files on my desktop changed for symbol (e) of the exploring on them and I can't open them. I don't know how to get it back. Can someone help me?

    Hello

    I would like to know the operating system you work with.

    Method 1) when you run an .exe on a Windows XP, Windows Vista or Windows 7 computer file, the file can start another program

    http://support.Microsoft.com/kb/950505

    Method 2) in case if it does not help, you must change the associated file. To change the file association for a specific file, you must first display the properties of the file.

    1. You can view the properties of a file by selecting the file and choosing 'Properties' in the file menu. Or you can simply right-click on the file and select "Properties" from the context menu that appears.
    1. To change this file association, click the button change.
    1. You are given a list of recommended programs to open the file, as well as several other programs on your computer. The recommended programs are programs that Windows knows is going to be able to open the current file type. For this reason, choose a program from the list of recommended programs is a good idea. You can choose a program from the list of other programs, but the file cannot open.
    1. You can change this program opens all documents of a certain type of file, and then click the checkbox "Always use the selected program to open this type of file."
    1. Click OK

    Check the link for more information:

    Change the programs that Windows uses by default

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    Icons change incorrectly in Windows

    http://support.Microsoft.com/kb/2396571

    Note:

    Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.Microsoft.com/kb/322756/fr/ )

    It may be useful

  • dialog box "Choose the program you want to open this file" is displayed when I start (after shutdown or restart) with my windows username listed in the file to open

    As I mentioned, the dialog box appears after every restart.  It occurs after I entered my credentials to logon and proceeded to windows.  It seems to be pretty late in the boot process that things like the chat programs and widgets are fully charged at the time wherever the dialog box is displayed.

    The dialog box appears to be the 'Open with' dialog box in Windows 7 standard.

    Specifically the dialogue reads as follows:

    Choose the program you want to open this file:
     
    File: Mathew [it's my user id and he showed not extension)

    If I open the file into something like Notepad, then the information below is presented (the # s are real numbers, but these looked like mac addresses, so I left)

    ===========================================================================
    List of the interface
    ##...## ## ## ## ## ## ...... Dell Wireless 1510 Wireless-N WLAN Mini Card
    ##...## ## ## ## ## ## ...... NVIDIA nForce Networking Controller
    #........................... Software Loopback Interface 1
    #... # # # # # # # # Card Microsoft ISATAP
    #... # # # # # # # # Teredo Tunneling Pseudo-Interface
    #... # # # # # # # # Card Microsoft ISATAP #2
    ===========================================================================

    IPv4 routing table
    ===========================================================================
    Active routes:
    None
    Persistent routes:
    None

    IPv6 routing table
    ===========================================================================
    Active routes:
    None
    Persistent routes:
    None

    Startup in MSCONFIG includes:
    ArcoTray - request for assistance Adobe Acrobat Distiller
    Adobe Reader and Acrobat Manager
    AVG Internet Security
    CyberLink PowerDVD
    Dell Support Center updates
    Reference Dell Webcam Central
    Dell Wireless card wireless network tray Applet WLAND
    Google update
    GoogleTalk
    GrooveMonitor Utility
    Digital Imaging HP - hp all-in-one serious
    HpqSRmon Application
    hpwuSchd Application
    IDT Audio of PC
    iTunes
    Java platform
    Logitech SetPoint
    Microsoft Windows operating system
    Microsoft Windows operating system (Yes, it is listed twice)
    NVIDIA Compatible Windows7 Display driver
    Quicket
    QuickTime
    Synaptics Pointing Device Driver
    TranscodingService

    Samhrutha,

    I solved the problem.

    I found that when creating a new user, no longer had the open with dialog box.

    I started the process of resolution of a corrupted user profile (which seems little more than creating a new and copy and paste a few old values), when I decided to try one last thing.

    I logged on my account corrupted again and when the 'Open with' dialog that I open the file with Notepad.  I tried to "save under" to locate the file and found that it was located in C:\Users.  Something in recent weeks seems to have put a file without an extension, called "Mathew" (my log in name) in this folder, and it began when I started windows.

    I have since deleted the file and am no longer get the "Open with" dialog

    Thanks for your support!
    Carpet

  • How to remove empty values to items in the list?


    Hello

    There is an error that I couldn't fix it for a few hours.

    I try to remove the empty list to the "elements in the list"

    I want to just display value 2 "Yes and no" only in my list.

    However, when I click on the down, or press keyboard input, a new list will occur.

    Are there anyone know how to remove the empty list?

    Please help me.

    -Item type: list item

    -Generator for oracle development forms

    Thank you

    Hello

    Try the following combination of keys:

    CTRL + SHIFT +.

    Greetings,

    SIM

  • I upgraded to 10 window.  She went and worked fine the next morning, then there haywire.  Not only when I right click on a picture to choose 'open in Photoshop 15 CC' is no longer on the list of choices. Where is that going?  I can go to the bridge and go

    I have upgraded to Windows 10 and all is well.  The next morning, it worked well, and then in the afternoon, when I would right click which would bring a window with my choice of app 'Photoshop 15 CC' is no longer on this list.  Where at - it go?  How can I get it back.  I can still go to the bridge, find the picture, click and the photo will be opened for editing.  But sometimes I want to just click on a photo quickly and change. Now I have to go to the bridge, find the photo, click on and it will be opened in Photoshop and I can change.  What happened, and I would like to be able to open a single photo quickly by right-clicking and choosing Photoshop.  As I said, this option is more on the list.

    Another problem is that when I open Bridge I get a window said msg / asking me to clear the cache of thumbnails in the preferences.  I did, but I still get the msg.everytime I open the bridge.  I did this several times.  So, I don't know whether or not the cache is purged.  What is the problem.  BTW, this happened before that I've upgraded to Windows 10 of 8.1.

    Hi Jdd,

    Please go to the following location on your computer C:\Program Files\Adobe\Adobe Photoshop CC 2015 and rename Photoshop.exe Photoshop CC 2015.exe

    Once that is done, then please go ahead and right-click on the image and select Photoshop app to browse and you should be able to do as an option.

    For the bridge, I suggest you to reset the preferences of the bridge once: Troubleshooting Adobe Bridge for errors and freezes

    Let me know if it helps.

    Kind regards

    Tanuj

  • Office 2010 does not display in the list of programs that can be set as the default value in Windows 7

    I have Office 2010 Home and Student installed on my Pavilion p6367 c - b, which is under W7 Home Premium.

    If I open Word or Excel and then use the open function to open a file, the file opens without any problem.  However, when I try to open a document or a spreadsheet by clicking on it directly (for example, in windows Explorer or a shortcut to this file), I get a message that says: there is no program associated with this file type and "create an association in the default program control panel.

    Unfortunately, when I go on this Panel, Office is not shown as one of the programs that I choose and I see nothing to add.  I know I must be missing something but...

    I hope someone can help me!

    Thank you.

    Hi, once again, Rick:

    I played a bit with change the types of files on a Vista computer, I was working on that. I thought I had to use WinZip to open a file that had no association.

    When I went to the list of available programs that is given to me, WinZip was not an option to choose. If it sounds the same problem you are having. You access the list to select an Office application to open a file and it is not among the list of available programs.

    I thought it was weird, so I played a little bit more. If you go on the left side of the box, you should have options to look for other places, so I went to computer > CProgam files and then I scrolled down and found in WinZip. Then, I open the WinZip program menu and select the executable file to open the file.  It worked (well, he gave me WinZip as default program to open the file, but the file does not open. It must have been corrupted or something).

    Then, give that a try. I am now back on the XP computer and do not have access to the specifics. But the procedure for file association for Vista is the same as W7. I write from memory of what I did last night.

    Paul

  • Remove the default value drop-down list

    I am currently working with Acrobat Pro XI version. I want to know if it is possible to remove the default value in a drop-down list.

    When the list less than 4 elements, it is possible to deselect the default value by pressing the spaces below. However, when there are no more elements, it is more possible.

    I read that you need to include white space as a component in the list of elements, however, then you will see an empty list item when people work with the pdf that is not preferable.

    So, nobody how to remove the default value in a drop-down list?

    Thank you!

    OK, I found a perfect solution to my problem by using FormsCentral for Acrobat. Here's what you need to do:

    Step 1:

    -Open FormsCentral

    -Create new form (choose the blank form)

    -Click the drop-down menu to create a new drop-down list

    -Fill out the items in the list by clicking on the timeline (you can also add a label if you want)

    -Click on: file > save as PDF form...

    Step 2:

    -Open the PDF saved (you will now see a blank pdf with a menu drop-down)

    -Click on: Tools > forms > Edit Form (when a pop-up window indicates that you should save a copy of the document in order to make changes, press 'Save a copy' and open the file with Acrobat pdf copy)

    -Select the drop-down list, the drop-down list to copy and paste it into the desired document

    Now you have a drop down without a default choice. Remember that you can not change the items in the drop-down list, because we will choose a default choice and you must use the copy pdf file once again. As long as you do not click on a list item, it is not choose a default choice.

    It is not a perfect solution, but it works for me.

    Good luck and thanks!

  • Select the list with the list of dynamic values with more than 4000 tank of query

    Hello

    I have no application where users can store SQL queries in a CLOB column. This query is then used to populate the list, select a dynamic element through LOV. Following the code returns the query for dynamic LOV used to populate the select list. It works fine except when the length of the lv_sqlStatement becomes more than 4000 characters. Then application crashes with "ORA-06502: PL/SQL: digital or value error: character string buffer too small" when Select the list item rendering.

    Any ideas how to get around this problem? Any help is appreciated. Do not say to them to write shorter than 4000 queries because I can't (it's operational requirements).

    DECLARE
    lv_sqlStatement end_user_set.sql_statement%type;
    BEGIN
    lv_sqlStatement: =: P2_SQL_STATEMENT;
    return ' select the label, value of (' | lv_sql_statement | t ')
    To_char (t.value) if not in (select value from end_user_set_member eusm)
    where eusm. EUSRSET_ID = ' | : P2_EUSRSET_ID | ')';
    END;

    I just blogged about this problem and posted a solution. See this announcement:

    http://www.deneskubicek.blogspot.de/2013/03/select-list-with-dynamic-lov-and-Ora.html

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Apress.com/9781430235125
    http://Apex.Oracle.com/pls/Apex/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

Maybe you are looking for

  • Windows Movie Maker Questions

    I just started to use Windows Movie Maker to make a DVD of worship with songs and lyrics for my study of the bible among the teenage group. I wanted to know: How to change the background on the home page before you burn the DVD? How can you fix the c

  • Dangerous Waters by Sonalysts

    I got a copy of Dangerous Waters for several years.  It worked perfectly on Windows XP Service Pack 2 and unlimited versions of Vista 64-bit.  I use a NVIDIA GeForce 9500 GT video card and processor Intel (r) Core (tM) 2 CPU with 6 GB of RAM and cloc

  • Conductor 3.0 with 10.5 of the Complutense University of MADRID - cannot get the AdHoc questions work/TLS record

    I'm working on a laboratory configuration to prepare application a client driver 3.0 with 10.5SU1 of the Complutense University of MADRID.  I have the base line everything up, but I can't get the Ad Hoc conference bridge to enroll at the University C

  • What version of organization a mpeg2-dvd

    I currently work with PPro CS6 and found out that output option "mpeg2-dvd" is not among the options that turns out to be exactly the one I need.   After reading some documents online, it seems that it is a problem for many people with CS6.  I succum

  • from 72 dpi to 300 dpi

    My camera any images at a resolution of 72 with a height of 182 cm x 121 cm, but I want to print at 300 with a size of nearly 30 cm x 20 cm.  What is the best way to do it?