A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

item selected in a listbox



 
 
Thread Tools Display Modes
  #1  
Old May 25th, 2005, 02:18 PM
SUZYQ
external usenet poster
 
Posts: n/a
Default item selected in a listbox

I have a multi-select listbox filled with error messages that a user
can select. For a few of the error messages I need to prompt for
additional information.

I'm using the click event of the listbox and then capturing
Me.lstSubType.Column(0). If it's one of the ones I'm interested in,
then at that point a InputBox prompts the user for information.

The problem that I'm having is that the user is prompted even if they
de-select the item.

How do I only prompt for the additional information when the item is
actually selected/highlighted?

Thanks!

  #2  
Old May 25th, 2005, 04:37 PM
Jackie L
external usenet poster
 
Posts: n/a
Default

Try putting your check/condition on the After Update event of the combo box
instead.

Hope this helps.


"SUZYQ" wrote:

I have a multi-select listbox filled with error messages that a user
can select. For a few of the error messages I need to prompt for
additional information.

I'm using the click event of the listbox and then capturing
Me.lstSubType.Column(0). If it's one of the ones I'm interested in,
then at that point a InputBox prompts the user for information.

The problem that I'm having is that the user is prompted even if they
de-select the item.

How do I only prompt for the additional information when the item is
actually selected/highlighted?

Thanks!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Item selected in combo box afftects all records chelle Using Forms 3 November 19th, 2004 08:36 PM
How to offset the vertical position of a item selected in the listbox Paul Using Forms 1 October 29th, 2004 09:50 PM
Copying selected items from Listbox into Textbox Alan T General Discussion 1 October 12th, 2004 03:42 PM


All times are GMT +1. The time now is 12:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.