ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Value ina listbox from sql (https://www.excelbanter.com/excel-programming/330390-value-ina-listbox-sql.html)

Alvin Hansen[_2_]

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



All times are GMT +1. The time now is 05:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com