Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: YAP (yet another problem:-)


Message #1 by "Daniel O'Dorisio" <dodorisio@h...> on Sat, 16 Jun 2001 09:49:25 -0400
k im back froma quick vacation and getting back to work on this project.

is there any multi column combo box that i could use? i remember seeing a
thread about it and somone found on in the microsoft access forms object or
somthing like that but i cant remember exactly what it was.

is there a multi column combo box anywhere that i can use?

or should i just use the list box and comma seperate it and have the record
id at the right like:
bloggs, joe, 757-555-1212, 5

then use string manipulation functions to get the record id.

daniel

Daniel O'Dorisio
dodorisio@h...
xxx-xxx-xxxx


-----Original Message-----
From: Hanson Lam [mailto:hansonlam@h...]
Sent: Monday, June 18, 2001 4:14 AM
To: professional vb
Subject: [pro_vb] RE: YAP (yet another problem:-)


Not sure if a multi column combo box exists in VB...


> that is exactly what i am looking for.. but where can i find a multi
column
> combo box?
>
> daniel
>
> Daniel O'Dorisio
> dodorisio@h...
> xxx-xxx-xxxx
>
>
> -----Original Message-----
> From: Padgett Rowell [mailto:padgett@i...]
> Sent: Sunday, June 17, 2001 1:08 AM
> To: professional vb
> Subject: [pro_vb] RE: YAP (yet another problem:-)
>
>
> Try creating a multi column combo box.  Have the first column set to
> your id, the second to the value you wish to show the user.  Set the
> first column width to 0 so the user doesn't have to see it.
>
> -----Original Message-----
> From: Daniel O'Dorisio [mailto:dodorisio@h...]
> Sent: Saturday, June 16, 2001 9:49 PM
> To: professional vb
> Subject: [pro_vb] YAP (yet another problem:-)
>
>
> k. i finally got the other stuff straight and deployed one of my macros
> for word, so now i am working on a less pressing app. it is still a word
> macro, but i am havnig some trouble with the way i am designing the app.
>
> what i am doing is presenting a list of values from a db so that the
> user can select one and click an edit button. all good so far. well i
> need to know the record id so that i can edit it on the other form. so
> what i did was populate both the combo box and a listbox at the same
> time (on form
> initialize) the combo contains the list, and the listbox contains the
> recordid that corosponds with the same listindex of the combo box. clear
> as mud? yeah i figured:-) the problem is i cant get it to work unless
> the user clicks the listbox with the record ids in it. but i want that
> hidden.
>
> is there a better way to do this? like if i was using asp, i would use a
> select box, and on the options have the value as the record id, so i
> tried that, set the index of the list item to be the record id.. it
> didnt like it cause the numbers arent perfect.. it starts at 3 skips 5
> ect..
>
> tia.
>
> daniel
>
> Daniel O'Dorisio
> dodorisio@h...
> xxx-xxx-xxxx
>



  Return to Index