say your list box has three columns, name, postcode and email, in that order from the left then
lstbox.column(1) is postcode, listbox.column(2) is Email
if you want to use these as criteria in a query, you have to fiddle around a little, create (visible=false) text boxes on your form, with source = lstbox.column(1) and =lstbox.column(2) respectively, use the text boxes in your query criteria
Regards
Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now -
How are you loading the list box? If you are using a query/table with columns for post code and e-mail you can specify the ColumnCount = 2 and set the column widths as appropriate. When you need to refer to the values you can do
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.