>Hello,
>
>I do have a combobox FormX.Combo1 in which I have listed the following values:
>Name
>Period
>Type
>
>Now I would like to get the selected value out of the Box. So if I say variable1 = FormX.Combo1.Text I get the selected value.
>
>However I don't want this value, I would like to get it like this
>
>FormX.Combo1 wanted value:
>Name t.name
>Period date
>Type type
>
>So how can I display certain list items and get a different value ?
Are those 3 values on each line of your combo box? If so, you certainly have a delimiter between each of them. You can now use this separator to retrieve each values.
If I didn't understood what you mean, send us a sample and we'll see that!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com