Gustav Brock
Gustav at cactus.dk
Thu Mar 31 09:39:14 CST 2005
Hi Tom That is: lstListbox.Column(1, lngRow) /gustav >>> tom.bolton at donnslaw.co.uk 03/31 5:23 pm >>> Hi Susan Thanks for the reply, that's kinda what I was thinking. Do you know the syntax for getting the value of a column from a listbox for a given index? Maybe I need to keep off the Subway sandwiches but I really can't seem to find it! MTIA (again!) Tom -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: 31 March 2005 16:12 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] RE: A2k2 listboxes You'll have to use a For loop to examine each value and stop when you find it -- course, that stops at the "first" value it finds -- is that what you want? I'm assuming it's a unique list? Susan H. Hi all, mental block time... I have a slightly easier one today - I have a listbox populated (not bound) with a list of values. There are 2 columns in the listbox. I want to programatically select an item in a listbox by matching one of the column values to a string. Is this possible?