Update of multiple selection form

I'm trying to find how to get down my selection drop in my update form to select existing selected options and also display no selected items in a form for updating the relevant tables.

Here is an example of what I'm trying to do.

Say I want to catalog all my music CD. I have a table of information (title, band, release date etc) CD called CD a table for categories (e.g. pop, rock, jazz, blues, etc.) and a lookup table that stores the CD_ID and the stuff that was selected when you enter the details of the CD. As each CD could if integrate several select categories allows multiple selections to the appropriate categories. for example a CD might fit the categories, progressive Jazz and Fusion.

So when the CD is added to the CD database info goes into the table of CDs and the CD_ID is then used to fill the table of correspondence with various stuff from the categories table. This is done with an insert in a loop so that the CD_ID is inserted several times for each stuff so a number of rows is added to the lookup table according to how many categories have been selected where the info of the CD has been added.

Now the question is: I want to build a form to be able to update the information on the CD. There must be a drop of drop-down selection that displays the existing selections as well as the other selections of the categories table that you can add new or modify existing selections.

I know this must be a common thing to do, but I just can't get my head around it. There must be a simple elegant way to do this. I don't want any duplicate menu options drop-down select, just selected existing and all options other options that have not been selected.

Hope it makes sense.

Would really appreciate a solution with what I am sure that this is a common scenario and I need to know how to cope in the future. I can't find solutions for this example in ColdFusion books, I read.

Thanks John

OK I finally it works, thanks Dan for putting me on the right track!

For some reason, I was getting an error on the part of "selected" = selected code have included my code as amended below as the solution that works for me.

Here are my two querys, I've included the code in order to make life a little easier for us beginners like often a small part of the puzzle is missing and he just leaves us perplexed. So, here it is, I know I'll be using this a lot in the future.


SELECT * FROM cdlookup, CD, cdcategories
WHERE cdlookup.cdid = #URL.cdid #.
AND cdlookup.cdid = cds.cd_id
AND cdlookup.catid = cdcategories.cat_id


SELECT * from cdcategories
ORDER BY category asc

and here are the multiple selection


And YES it works to change just the select for a cfselect Flash form




All the best!

John

Tags: ColdFusion

Similar Questions

  • Add the data in a field of multiple selection?

    Just got got off the phone with the support of Eloqua ask about the possibility of adding data in a field of multiple selection over time. Apparently, it's possible through mailings of form, but no list will be mailed.  Wouldn't be great if during a download list, you had the ability to add data from a field in your file .csv for existing values in this area in Eloqua.  Here's a use case for this scenario... in our society of industry can be part of multiple market segments.  Depending on the event, a person can feel they are part of the market segment 'Radar', but another event specializing in Sonar... they indicate that they are part of the market segment "Sonar", both being true.  There is currently no easy way to enter these data in Eloqua over time as part of the downloads from the list.  Based on the scenario above, the existing value is 'Radar', but if "Sonar" is the value of the field for the next download it replaces the value of 'Radar '.  Ideally, we would be able to capture the two values.

    I said that if there is enough interest in this idea, Eloqua would consider developing a new option for downloads from the list add vs crush.  I hope others can find a use case for this idea.

    Hi Tina,

    I know it's a bit old but I had a simular problem on adding values to a multi select.  Here's how I approached it.

    1. Add a text based contact field Eloqua to transfer your csv values.  Let's call it "MultiSelect download Value" for this example.

    2. Add Eloqua add values to a multiselect contact field.  What we'll call "MultiSelect Final.

    3. create a program that will add the download list.

    4. in the program, create a step to update Contact data

    . in the update rule, update "Definitive MultiSelect' field, Append the value in the field value, value will be hardcoded, check use a delimiter": ", marks the conditional rule the field" value to download MultiSelect "equals the value hard coded or one that you would like the field to be.

    b. create all update settings you need for your data.

    I approached this way because our downloads from the list should be add the data over time.  The field ' value to download MultiSelect ' allows it to be overwritten on each download.

    Let me know if you want more details.

    Thank you

    Blake

  • Need to field multiple select the option without having previously selected deleted

    Hi all

    Request Express 4.1.1.00.23

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production

    I have a requirement of adding a field of multiple selection to a single screen, and I added the list to multiple selection, without a second thought. Of course, the question is when a user tries to edit a record, click on (with the CTRL key) two options in the selection list multiple, but not clicked on those previously selected, then we lost them. Then I thought to create checkboxes and thus those already selected will be always checked when try to update.

    But I want to do with the multiple selection field. So I was wondering if there is a way?

    Thank you!

    Sam82 wrote:

    Request Express 4.1.1.00.23

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production

    I have a requirement of adding a field of multiple selection to a single screen, and I added the list to multiple selection, without a second thought. Of course, the question is when a user tries to edit a record, click on (with the CTRL key) two options in the selection list multiple, but not clicked on those previously selected, then we lost them. Then I thought to create checkboxes and thus those already selected will be always checked when try to update.

    But I want to do with the multiple selection field. So I was wondering if there is a way?

    This is the behavior expected multiple-selection list. It can be changed using a point hidden shadow and JavaScript, but there is no way out of the box to achieve what you propose.

    Selections several lists are usually a bad idea:

    • Users do not know how they work
    • They are confused and source of errors, except if all options are visible (which generally wastes space UI)
    • The resulting values of treatment is problematic
    • They are often the cause of a model of incorrect data or result

    Checkboxes or a shuttle are much better options and controls for multiple choice options.

  • 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 works only not active based on

    Hello

    I tried to create an asset base with a multiple selection, but it strives to 7.6, but not in 11g. Not able to select multiple values from the drop down.

    The default tag is not is also reflected. Here is the code I use.

    < NAME of ASSET = 'Changes' DESCRIPTION = 'Changes' MARKERTEXT = "' * ' PROCESSOR ="5.0"DEFDIR =" / apps/shared/storage/ChangeSet_Test1 ' RENDERUSINGTEMPLATE = 'no' > "

    PROPERTIES of <>

    < PROPERTY NAME = "AssetTypes" DESCRIPTION = "AssetTypes" >

    < STORAGE TYPE = "VARCHAR" LENGTH = "30" / >

    < TYPE INPUTFORM = "SELECT" MULTIPLE= 'YES' SOURCETYPE = "STRING" VALUES = "Left, Right and Center" DEFAULT= "" OPTIONDESCRIPTIONS = "Left, centered, right" / > "

    < SEARCHFORM DESCRIPTION = "AssetTypes updated / created" TYPE = "SELECT" SOURCETYPE = "STRING" VALUES = "Left, Right and Center" OPTIONDESCRIPTIONS = "Left, centered, right" / >

    < / PROPERTY >

    < / PROPERTIES >

    < / ASSETS >

    Concerning

    Bishnu

    Hello BishnuSatpathy,

    This is a known bug prior 11.1.1.8 patch 4.

    For more information, please see note 1587776.1

    I suggest that you upgrade your version to 11.1.1.8 patch 5 to solve this problem, or you can also try the workaround mentioned in the note

    1 - Open the [PATH_TO_SHARED_FOLDER]/elements/OpenMarket/AssetMaker/BuildEditSelect.xml file

    2. remove the dojoType = "the attribute fw.dijit.UISimpleSelect" lines 67 and 115 "

    3 - restart the application.

    4. multiple items can be selected after you make this change.

    BTW, do not forget to add SIZE = "4" in the INPUTFORM, otherwise you get a narrow selection box.

    Concerning

    David

  • Multiple selection with binding variable error

    Hello world

    I tried to put in place an array of adf multiple selection with another table, by following the tutorial (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/75-multi-parent-row-detail-views-328078.pdf), page 3.

    I created all things and first of all I had an exception error, which I fixed, but now, whenever I try to select multiple lines, it won't update the table of the adf.

    In this example, I choose a service line and it shows the emplooyes, but every time I try to choose another line by ctrl clicking on it, the employees table be updated.

    Since I tryied to follow the tutorial, I'll put the code for the bean, I created for this purpose (it's a little different than the code given by the tutorial, but only because I had to get rid of the exception error)

    I use jdeveloper Studio Edition Version 12.1.2.0.0.

    Here is my code for the bean.java:

    Select listen port defined for the departments table. The selected line keys are read in the reference table.

    For each line, the Department ID value is read and added to a string buffer that generates a comma-delimited

    List of the departmentIds. In the end, this string is passed as an argument to the link of action ExecuteWithParams

    {} public void onDepartmentTableSelect (SelectionEvent selectionEvent)

    variable to hold the string containing the selected set value line departmentId

    StringBuffer departmentIds = new StringBuffer();

    Go to the main table to read selected line keys

    RicheTableau rt = selectionEvent.getSource ((richeTableau));

    RKS RowKeySet = rt.getSelectedRowKeys ();

    Iterator selectedRowsIterator = rks.iterator ();

    memorize the current line to place it back in the end key

    CurrentRowKey () rt.getRowKey = (list);

    for each selected master line, determine the departmentId

    int size = 0;

    {while (selectedRowsIterator.hasNext ())}

    size ++;

    The rowKey () selectedRowsIterator.next = (list);

    each value is terminated by a comma

    If (departmentIds.length () > 0) {}

    departmentIds.append(",");

    }

    take the current line

    rt.setRowKey (rowKey);

    JUCtrlHierNodeBinding wrappedRow = rt.getRowData ((JUCtrlHierNodeBinding));

    Line rw = wrappedRow.getRow ();

    /*

    Number departmentId = (number) rw.getAttribute ("DepartmentId");

    */

    int departmentIdInt = rw.getAttribute ("DepartmentId") (Integer);

    oracle.jbo.domain.Number departmentId = new oracle.jbo.domain.Number (departmentIdInt);

    departmentIds.append (departmentId.stringValue ());

    }

    back the foreign currency on the line

    rt.setRowKey (currentRowKey);

    Run the query on the detail table

    BindingContext bctx = BindingContext.getCurrent ();

    BindingContainer links = bctx.getCurrentBindingsEntry ();

    OperationBinding executeWithParams = bindings.getOperationBinding("ExecuteWithParams");

    executeWithParams.getParamsMap () .put ("departmentIds", departmentIds.toString ());

    executeWithParams.execute ();

    refresh the detail table

    AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance ();

    adfFacesContext.addPartialTarget (employeeTable);

    }

    }

    If someone has an idea of why it isn't updated table, please answer. Any idea can help.

    Thanks in advance.

    Greetings,

    Frederico Barracha.

    Finally, I found the problem...

    The problem was that I had to remove a line in the properties of my table, the property services: selectedrowkeys, because he only spent the last selected row.

    Yet, I apreciate the help and I had to replace a code in the bean.java, in reason of the exception error and you had to do. Maybe I did a configuration in the wrong way and he would not.

    Thanks for the help.

    Kind regards

    Frederico.

  • How to use the Multiple selection in ADF faces

    I have, I want to know how to use a multiple selection (ADF select several choices) for updating the database.

    by mentioning your exact jdev version.

    As far as I know he in not possible automatic update select a choice that she returns a list which you must map back to the lines of the table yourself.

    Timo

  • 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.

  • The MySQL Multiple selection list

    How to make multiple selections in the drop-down list in a form in Dreamweaver 8 and publish on MySQL?

    I tried using implode as recommended here: http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=12 & catid = 263 & threadid = 1112556 & highlight_key = y & keyword1 = multiple

    It worked unless the user did not select all the items in the list. Then, I got a bad argument error message.

    Then I tried just using POST without the implode and [] at the end of the name, but this put the word 'Picture' in the row/column in the database instead of the data.

    I then tried the POST with [the] on the chosen name and [] in the SQL statement: GetSQLValueString ($_POST [' devices [] ""], "text"), Dreamweaver wouldn't let me associate it under Insert a record in the section of the server behaviors - so nothing is put in the database.

    I need to be able to display multiple selected items in a list box for MySQL, but allow the user to select nothing in the drop-down list without receiving an error.

    Thank you very much for your help. In the end, he has worked with put the [] after the name and the following code:

    GetSQLValueString (isset($_POST['appliances'])? implode ("-", $_POST ['appliances']): "", "text")

  • Help with POST data if multiple selections are chosen

    I created a form with a menu (list) which includes all 50 States. I used the MESSAGE option, as well as PHP, to treat form data, which will be sent to me. The list menu looks like this: http://askdave.info/help/states_menu.gif and I have "Allow multiple selections" checked in the property inspector.

    If the user chooses several States, I want EACH of these States to be included in the email that I receive. Right now, if I check several States, I get only the latest state selected. For example, here is the email that I get after I check 5 different States. http://askdave.info/help/FormData.gif

    Problem-> in this email, only one State is indicated (Hawaii), even if I selected 5 different States. How can I get the data from the form to list all THE States that are checked?

    Here's what I have:

    < form name = "form1" method = "post" action = "process.php" >
    < input type = "hidden" name = "required" value = "name, phone, email, States, capital" / >

    And then for the menu that lists the States, I have:

    < label >
    < select name = 'States' size = '7' several id = 'States' >
    all States < option > < / option >
    Alabama < option > < / option >
    Alaska < option > < / option >
    Arizona < option > < / option >
    Arkansas < option > < / option >

    and so on...

    What Miss me? How can I get the PHP script to send multiple values, if multiple values are selected? (I'm new to PHP, so go easy on me.) I can post my code, if necessary.) Is this a PHP problem, or do I have to add something to the HTML form?

    Hello

    >>
    I think that DynaForm is synonymous with dynamic form
    >>

    This makes some sense ;-) I was wondering just because there is a pre-made script called DynaForm here, but it has a different 'Logistics' than yours.

    However, both "DynaForm" versions are pretty basic, because they deal only with non-multiple values - fields as a single line, texareas and select´s non-multiple of form input fields. Your script for example just loops through all the existing form fields using the method "foreach":

    Out of form fields and values.
    foreach ($this-> post as $field-online $value) {/ / loop through all form fields}
    If ($field == "required") continue;
    $this-> _addLine ($field, $value); Here´s where the field´s name/value consolidation happens
    }

    .. .and simply includes a 'value' with his 'name' associated field´s. The problem is: this method works, simply to have only 1 value - but any 'multiple value' form fields (for example your 'States' select or check box groups who spend several values as well) require a separate "foreach" in the script treatment, fields and this hasn´t been incorporated here.

    That said, I would suggest using another solution pre-made as PHP Form Mail script that s capable of managing your multiple values - scenario naturally.

  • Store multiple selections in list in a single field

    I need help to find this one. I have a simple form that uses a field list with "multiple selection" enabled. The values in the list are North, South, East and West. The user selects 1-4 on these options, and I want to memorize all these values in a single text field in the database called "direction". The ONLY value that is stored is the last value in the list.

    Using DW CS3 and mySQL 5.

    What Miss me? Thanks in advance.

    "weidemannia" wrote in message
    News:fftbd2$CB4$1@forums. Macromedia.com...
    > Someone out there with a suggestion?

    Add [] to the name of the field, multiple fields will be available as a
    table.

    Joris

  • Query output to multiple selection data

    I am trying to output the name of the person and the Organization to which they belong. A user can belong to more than one org and org may have multiple users associated with them.

    I have a table of user with user_id, username_txt, password_txt user_org_id fields
    a table of org that has org_id and org_cd
    a user_org table that has a user_org_id, user_id and org_id
    This is how I create the relationship between users and organizations.

    I'm trying out the name of a person and a multiple selection box that has all the orgs that is assigned to a user selected. but the form is to select only a single organization. How can ensure me that the selection box shows the user orgs selected?

    I think I have to do some kind of loop or something else to get all values - I don't know what to do. any help would be appreciated. Thank you!

    See my code:

    With the help of a multiple selection with pre-selected items makes it very easy for users accidentally deselect things.

    But, if you insist, change this:
    SELECTED
    to do this:
    selected = "selected".

  • Table (ADF 11 g) does not get updated on the selection of lines...

    Hi all

    I have a table element (ADF 11 g) in my page with the selection of multiple lines. I have my own row selection listener. Whenever I have select several lines with the CTRL key, the table is getting updated. It is fetching the data again for each selection. I don't want the table to get updated whenever I select a line. In the im listener manually selected do the line current. The code below is the table row selection listener.

    public void tableRowSelectionListener (SelectionEvent selectionEvent)
    {
    Add the code in the event here...
    String tableRowSelectionListener = "tableRowSelectionListener";
    Table richeTableau = (RichTable) selectionEvent.getComponent ();
    Set of keys to RowKeySet = table.getSelectedRowKeys ();
    Txn_id = number ((Number) ((Key) ((List) keySet.toArray () [0]) .get (0)) .getAttribute (0));
    int noRowsSelected = ((List) keySet.toArray () [0]) .toArray () .length;
    Rank [txnrows] = null;
    if(noRowsSelected == 1)
    {
    PscTransactionsViewImpl txnVO = (PscTransactionsViewImpl) amImpl.getPscTransactionsView2 ();
    if(txnVO!=null)
    txnrows = txnVO.findByKey (new Key (new Object [] {txn_id}),-1);
    If (txnrows! = null & & txnrows.length > 0)
    {
    SelectedRow PscTransactionsViewRowImpl = (PscTransactionsViewRowImpl) txnrows [0];
    txnVO.setCurrentRow (selectedRow);
    }
    }
    }

    How to select a row in the table easily (without the table is refreshed). ?

    Thanks in advance,
    Swathi

    Hi swati,

    Set property of 'changeeventpolicy' on 'none' & 'useRowHints' to 'default' for the list that you iterate.

    YP.

  • write an update statement in oracle forms 9i

    Hello

    I have a problematic situation in which

    I get values of a slider and a record group in the drop-down list and text elements block box area two data respectively.
    Both data are read in different tables.

    Now based on the selection of the drop-down list box, I need to update the value selected in another table by writing a statemet update.

    I created a button and the triggering event of when you press the button, I wrote a simple update statement, but it doesn't work like that.

    Kindly help me how to write manual update instructions in oracle forms 9i

    I can't used the buil update in forms that I want to date in a table that is not mentioned in the ownership of the block of data palette

    Help, please

    There is a syntax error in your statement.

    You must write:

    PROCEDURE update_current IS

    BEGIN

    update abc set xculumn= :block_name.item_name2 where ycolumn = :block_name.item_name1 ;

    commit;

    Hope it helps you,

    Fabrizio

    If this answer is useful or appropriate, please mark. Thank you.

    Published by: Fabrizio Delli Priscoli on 23 / ott/2008 14:30

  • Settlement data based on multiple selection ListBox reference need help

    Hello again,

    The question that I have is selecting from a listbox with multiple selection to fill the tables with the selected data. My code is as follows:

    Void loadData_EventClick (ByRef This)

    Dim j

    Dim k

    k = 0

    If ListBox.MultiSelection.Count = 0 Then Exit Sub

    For j = 1 To ListBox.Items.Count

    If ListBox.MultiSelection (j). Count = True Then

    k = k + 1

    End If

    Next

    TextBox.Text = k

    End Sub

    The code works perfectly up to the second if statement. My current channel group list contains 16 channels and with the second if statement guided the textbox output is equal to 16 (i.e. k = 16), which is what I expected. Im just using the k = k + 1 for the test. Eventually will be replaced by operating code specific to what I need to do.

    So the question that I have is to get the code to recognize what values are selected and referring to the index for the selections in a table. Im not sure on how to do it.

    Any help is very appreciated.

    Thank you

    ~ Nathan

    Attached JPEG shows the current user interface and the output of k with the second if statement commented

    Hey Nathan--

    ListBox.MultiSelection () is a function that returns an array of [multiple] selected items in ListBox.

    ListBox.MultiSelection.Count is a property that returns the number of items in the table above.

    Therefore, the logic in your second IF statement that says if ListBox.MultiSelection (j). Count = True really makes no sense because:

    1. The array returned by the multiple selection (using (j) indexing now refers to a single selected item in the list (which has not its own 'Count' property)

    2. If you don't the array index, assuming that you had selected 4 items in your list, your statement would still be actually as said if 4 = True which is not what you get.

    Make sense?

    Here is a modified version of your code that I hope makes it a little more obvious how these elements relate to one another.  Give it a run; of course, 75% of the code is extranneous to you working end to account, so make sure that you subsequently delete what you won't need.

    Sub loadData_EventClick (ByRef This) ' creates the event handler
    Dim j
    If ListBox.MultiSelection.Count = 0 Then Exit Sub
    TextBox.Text = "Total ListBox items:" & ListBox.Items.Count & + "" \n "".
    TextBox.Text = TextBox.Text & "Total selected items:" & ListBox.MultiSelection.Count & + "" \n "".
    TextBox.Text = TextBox.Text & "Selected Items:" & + "\n"
    For j = 1 to ListBox.MultiSelection.Count
    TextBox.Text is TextBox.Text & ListBox.MultiSelection (j). Text & ", index" & ListBox.MultiSelection (j). Index & + "\n"
    Next
    End Sub

    You are making great progress; It will get quickly easily faster and we are here to help – do not hesitate.

Maybe you are looking for

  • some pages will not load in Firefox - only works in IE and Google - have cleared cookies cache and reset firefox - no luck

    Failed to load www.simplyrecipes.com in Firefox. It works in Chrome and IE 8. OS is XP - latest firefox and all windows updates. According to the troubleshooting guidelines, I have deleted the history, cache and cookies. Then I reset firefox. Still n

  • How to start the recovery on Tecra 8000 CD?

    Hello I tried to recover with CD. The manual says hold 'C '. It is not possible to hold 'C' when starting, the beep of the machine and a quick beep.What can I do?Hope someone has maybe had the same problemThank you

  • PhotoSmart 5514 product CQ183A: analysis without color

    After installing ATT Uverse Wireless modem 5514 does not scan color images. Have you tried both wireless & USB. Have not found a function for re - configure settings. What could be the problem? Analysis very well in the B & W. Ai tried both, initiate

  • Svchost constantly using all cpu that is 100%

    computer running constantly slow due a svchost constantly of vives that uses all the CPU resources available to be able to read a question on this forum, in which you explained to another, how to get the data needed to send it to you if you can help

  • damaged photos

    I keep most of my photos on an external hard drive. The DHM's wiped recently by accident, but before it has been used for something else, I downloaded and he opposed "Recuva". All the pictures I wanted to recover have been listed as "excellent". So I