Jonnh wrote:
I could already solve the problem that a textbox had the value of a
line of a listbox, now what I need is that another textbox of another
form has the value of a listbox because access it returns me error that
an object is required. the textbox this it is the expression that
digitando am:
Formularios![Precios Nestle]! [txtcodigo].value = listbox.Column(0)
Maybe because you're referring to ALL values in the listbox? Are you
dealing with the ItemsSelected collection? I would assume so....
you need to do something like:
For Each varItem In Me.List2.ItemsSelected
'---process each item here...
Me.List7.AddItem (Me.List2.ItemData(varItem))
Next varItem
you should probably start searching through NWind and the help files.
you might find stuff in there you can use.