Thread: jcombobox
View Single Post
  #1 (permalink)  
Old 05-09-2007, 05:49 PM
Freddie Freddie is offline
Member
 
Join Date: May 2007
Posts: 42
Freddie is on a distinguished road
jcombobox
hello everybody, I want to know how can I load a combo with a table with 2 columns where a column was the text that I want to show it in the dropdownlist, and the second column is that the value that I need to use.


an example woud be
Code:
contacttable[1,1] = "TLF" contacttable[1,2] = "telephone" contacttable[2,1] = "FAX" contacttable[2,2] = "Fax" contacttable[3,1] = "MOV" contacttable[2,2] = "Móvil"
In the ddp I want to show: telephone, Fax, Movil
and the values must beTLF, FAX, MOV.

Can you help me?
Thank you
Fred

Last edited by Freddie : 06-01-2007 at 04:08 PM.
Reply With Quote
Sponsored Links