|
-
Feb 3rd, 2003, 03:36 PM
#1
[Resolved] Access VBA - Listbox Additem equivalent
Hi Guys,
I'm trying to add table data from the current M$ Access recordset
into a (VBA) ListBox.
Can't figure out the syntax tho.
Eg: What is the VBA ListBox equivalent of (ListBox) .AddItem?
Regards,
Bruce.
Last edited by Bruce Fox; Feb 3rd, 2003 at 04:33 PM.
-
Feb 3rd, 2003, 04:17 PM
#2
Fanatic Member
create a string, sItems (semicolon delimited, I think)
then
List1.RowSource = sItems
Last edited by ralph; Feb 3rd, 2003 at 04:22 PM.
VB 6.0, Access, Sql server, Asp
-
Feb 3rd, 2003, 04:24 PM
#3
Hyperactive Member
Just make sure you've changed the listbox RowSourceType to value list first..
Erin
-
Feb 3rd, 2003, 04:26 PM
#4
-
Feb 3rd, 2003, 04:33 PM
#5
Thanks guys, that worked 
Bruce.
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
|