|
-
Apr 8th, 2009, 01:04 PM
#1
Thread Starter
Member
traversing items in a collection in msacces 2002
Hi To All,
I have quick question in MS Access 2002. I writing a program that has combo boxes that I want to setup with same information using VBA code. My combo boxes are label combo1, combo2, Etc up 90. I want to do somthing like
Dim Counter as integer
Counter = 0
For Each Item in Combo ' Combo is are the combo boxes
Combo & Counter = "Sample
Counter = Counter + 1 ' Combo Box Counter
[Combo] & Counter.Rowsource = "Sample"
If Counter > 90
Exit
End if
Next Item
Know the above code does not work. How can I get it to work ?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|