[AccessD] RE: A2k2 listboxes

Tom Bolton tom.bolton at donnslaw.co.uk
Thu Mar 31 10:01:27 CST 2005


That's the very thing I was looking for, many thanks Gustav and Susan!



-----Original Message-----
From: Gustav Brock [mailto:Gustav at cactus.dk] 
Sent: 31 March 2005 16:39
To: accessd at databaseadvisors.com
Subject: RE: [AccessD] RE: A2k2 listboxes

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?

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com
-------------- next part --------------

The contents of this message and any attachments are the property of Donns Solicitors 
and are intended for the confidential use of the named recipient only.  They may be legally
 privileged and should not be communicated to, or relied upon, by any other party without 
our written consent.  If you are not the addressee, please notify us immediately so that we 
can make arrangements for its return.  You should not show this e-mail to any person or
 take copies as you may be committing a criminal or civil offence for which you may be
 liable.  The statement and opinions expressed in this e-mail message are those of the 
writer, and do not necessarily represent that of Donns Solicitors.  Although any files attached
 to this e-mail will have been checked with virus protection software prior to transmission, 
you should carry out your own virus check before opening any attachment.  
Donns Solicitors does not accept any liability for any damage or loss which may be caused 
by software viruses...


More information about the AccessD mailing list