View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Alvin Hansen[_2_] Alvin Hansen[_2_] is offline
external usenet poster
 
Posts: 209
Default Value ina listbox from sql

Hi
I use this code
ListBox1.AddItem rs("land") & "....." & rs("knap")
Its working allright
but what if i want to have another value to send to a textbox

Like textbox.text = listbox1.value and this value shal bee rs("id")

hope someone understand and can help

best regards alvin