X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
   Reply to this topicStart new topic
> How To Determine Last Selection In Multi Select Listbox?, Any Version    
post Oct 17 2019, 07:39 AM

Posts: 2
Joined: 5-March 19

I have a multi select listbox and I am able to read the items selected in that listbox . . . but as a user is selecting an item, I want to be able to determine what they have most recently selected or unselected.

I could, of course, create a table (or an array) to record the listbox selections and compare the current table(array) to the previous table(array).

But is there a more direct way to determine what was the most recent item selected?


Go to the top of the page
post Oct 17 2019, 07:48 AM

UA Admin
Posts: 36,092
Joined: 20-June 02
From: Newcastle, WA

Welcome to UtterAccess.

An array of items selected.... That's the technique I've seen and used.

My Real Name Is George. Grover Park Consulting is where I do business.
How to Ask a Good Question
Beginning SQL Server
Go to the top of the page
Larry Larsen
post Oct 17 2019, 08:02 AM

UA Editor + Utterly Certified
Posts: 24,384
Joined: 26-August 02
From: Melton Mowbray,Leicestershire (U.K)


You mention the scenario of a comparison between items selected.. (ie: two tables ) is that your aim..??

Have you looked at the ListIndex property of the listbox, to capture the current item selected..

Just had a rummage through some old demo db's and found a small example on what details you can extract from a single selected item in a listbox..

Reason for edit: post image..

Attached File(s)
Attached File  2019_10_17_14_04_28.jpg ( 32.35K )Number of downloads: 2

"Time...We have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein"
H. Jackson Brown
Go to the top of the page
post Oct 17 2019, 08:21 AM

Posts: 2
Joined: 5-March 19

That was it !!!


Go to the top of the page

Custom Search

RSSSearch   Top   Lo-Fi    22nd November 2019 - 01:32 PM