By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,914 Members | 1,100 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,914 IT Pros & Developers. It's quick & easy.

How to... determine the currently selected item from a multi-select list?

P: 2
I've been trying to find a way to determine the last/currently selected item from a multi-select list without success. Anyone have any ideas?


Thanks!
Jul 17 '07 #1
Share this Question
Share on Google+
1 Reply


puppydogbuddy
Expert 100+
P: 1,923
I've been trying to find a way to determine the last/currently selected item from a multi-select list without success. Anyone have any ideas?


Thanks!

Try this:
The code below assumes you have the ID column as the bound column in your listbox. Replace it with the actual bound column used in your application. The code also assumes that the bound column is numeric. If it isn't then the numeric syntax will have to be changed.

'Moves to the record selected in the listbox
Me.RecordsetClone.Findfirst "[ID] = " & Me![ListboxName]
Me.Bookmark = Me.RecordSetClone.Bookmark
Jul 17 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.