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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How do I detect if item in lisbox is selected



 
 
Thread Tools Display Modes
  #1  
Old May 10th, 2010, 03:48 AM posted to microsoft.public.access.forms
Sam[_34_]
external usenet poster
 
Posts: 1
Default How do I detect if item in lisbox is selected

Hi,

How do I detect item in listbox is selected? Is there a problem with
news server cause I cannot access it from outlook express

SF
  #2  
Old May 10th, 2010, 06:57 AM posted to microsoft.public.access.forms
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default How do I detect if item in lisbox is selected

On Sun, 9 May 2010 19:48:41 -0700 (PDT), Sam
wrote:

Check out the list of events available to the listbox and see which
one is most appropriate to you. Perhaps the AfterUpdate event.

-Tom.
Microsoft Access MVP


Hi,

How do I detect item in listbox is selected? Is there a problem with
news server cause I cannot access it from outlook express

SF

  #3  
Old May 10th, 2010, 12:42 PM posted to microsoft.public.access.forms
BruceM via AccessMonster.com
external usenet poster
 
Posts: 448
Default How do I detect if item in lisbox is selected

If the list box is bound to a required field (Field1), you could use the
form's Before Update event:

If IsNull(Me.Field1) Then
MsgBox "Field1 is required"
End If

No problem I know of with the news server. Are you using the correct server
name?

Sam wrote:
Hi,

How do I detect item in listbox is selected? Is there a problem with
news server cause I cannot access it from outlook express

SF


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201005/1

  #4  
Old May 10th, 2010, 05:02 PM posted to microsoft.public.access.forms
Linq Adams via AccessMonster.com
external usenet poster
 
Posts: 1,474
Default How do I detect if item in lisbox is selected

Is the Multi-Select Property of the Listbox set to ***None*** or to Simple or
Extended? It makes a difference because Listboxes only have a Value when set
to None.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000/2003

Message posted via http://www.accessmonster.com

 




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


All times are GMT +1. The time now is 07:18 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.