MultiSelects


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: MultiSelects

  1. #1
    Glenn Guest

    MultiSelects


    Can anyone tell me how (and if it is possible) to make a DBCombo box or DBList
    box MultiSelect capable? I am pulling data into a DBCombo/DBList box using
    SQL queries and I want the user to be able to select multiple items which
    in turn only the selected items will be written to another table.

    Any and all help would be greatly appreciated.
    Thanks
    Glenn

  2. #2
    Edwin Guest

    Re: MultiSelects


    "Glenn" <GnKWilson@WebAccess.net> wrote:
    >
    >Can anyone tell me how (and if it is possible) to make a DBCombo box or

    DBList
    >box MultiSelect capable? I am pulling data into a DBCombo/DBList box using
    >SQL queries and I want the user to be able to select multiple items which
    >in turn only the selected items will be written to another table.
    >
    >Any and all help would be greatly appreciated.
    >Thanks
    >Glenn



    Hello,

    1. run a loop until the end of listbox (listbox.listcount)
    2. check the status of each and every index (.selected property = true)
    3. if true do the table operation for the selected item.
    4. else skip the database operation.

    Regards
    Edwin


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center