Results 1 to 2 of 2

Thread: pull down menu

  1. #1
    Join Date
    Sep 2003
    Location
    netherlands
    Posts
    25

    Unanswered: pull down menu

    hi i have 2 questions
    1 i use a pulldown menu to select some data in my form
    if i use the menu there are 2 coloms shown and only 1 is filled in the text
    this is ok now do i want to show the second collom in a differnt textfield
    but in reference to the chosen 1 collom
    i have no idee how to link this

    my second question is
    is it possible to make a pulldown menu where i cann choose more then 1 out the tabel just by clicking on a yes/no field
    and then the result is shown in a textfield

    i hope my question are clear i know what i wanted to ask but didn't know how
    to ask it proberly
    any help is welkom

    regards
    marcel

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    1.)
    You may reference the "hidden" column by calling the "column" property of your combo box in the "After Update" event handler. For instance, if you have a two column combo box, you could use the following code to dump the "second" column's value into an external text box:

    yourTextBox = YourComboBox.Column(1, YourComboBox.listIndex)

    2.) What you are describing is called "multi-select". It is not available to a combobox. You would be better served using a listbox in this scenario. The methods mentioned in question 1 are the same for a listbox as well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •