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  

ListBox



 
 
Thread Tools Display Modes
  #1  
Old March 24th, 2008, 02:07 PM posted to microsoft.public.access.forms
hturk
external usenet poster
 
Posts: 1
Default ListBox

Does any know why when you check the itemSelected.count property of a list
box set to none it returns 1 in VBA code? When the list box is set to simple
or extended it returns 0 because they are set to null.

For example:
I select a record from the list box then switch to a different Meeting and
then switch back to the previous meeting and the results are still selected
with a count of 1 even if I loop through the list and set each item to false
after I have set the recordset of the list box. This prevent me from being
able to select an item. If I set the list box to null I can then select an
item without any problems.

 




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 02:41 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.