ItemSelected Problems 
Author Message
 ItemSelected Problems

Using Access97 I am trying to run the following code from the On Click
property of a list box. The problem is even I have selected an item in
the list box the code tells me none were selected.  Help.

Set ctlLst = Forms!frmResults!lstMsgs
For Each item In ctlLst.ItemsSelected
     OldFile = ctlLst.ItemData(item)
Next item



Mon, 29 Aug 2005 07:25:34 GMT  
 ItemSelected Problems
Hi ,

My name is Joseph Moore.  Thank you for using the Microsoft Access
Newsgroups.

What is the exact error message that you are receiving?  Also, please send
your code again and include the variable dimensions.  Thanks!

I hope this helps!  If you have additional questions on this topic, please
respond back to this posting.

Regards,

Joseph Moore
Microsoft Access Engineer

This posting is provided 'AS IS' with no warranties, and confers no rights.
You assume all risk for your use. ? 2001 Microsoft Corporation. All rights
reserved.



Mon, 29 Aug 2005 08:42:06 GMT  
 ItemSelected Problems

Quote:

> Hi ,

> My name is Joseph Moore.  Thank you for using the Microsoft Access
> Newsgroups.

> What is the exact error message that you are receiving?  Also, please send
> your code again and include the variable dimensions.  Thanks!

> I hope this helps!  If you have additional questions on this topic, please
> respond back to this posting.

> Regards,

> Joseph Moore
> Microsoft Access Engineer

> This posting is provided 'AS IS' with no warranties, and confers no rights.
> You assume all risk for your use. ? 2001 Microsoft Corporation. All rights
> reserved.

Thanks so much for the response.  I pulled a long night and figured out
the problem. Thanks again.
Jones


Mon, 29 Aug 2005 23:11:12 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. ItemSelected Problems

2. ItemSelected in Continuous Form

3. ItemSelected in Continuous Form

4. How to use the ItemSelected from a MultiSelect List box

5. Itemselected -- in reverse

6. listbox itemselect

7. ItemSelected Collection

8. listbox.itemselected(0) at OnClick [event proc]

9. ItemSelected

10. Problem problem problem...


 
Powered by phpBB® Forum Software © phpBB Group