|
-
November 24th, 1999, 02:45 PM
#1
Access97 Listbox Control
I am trying to add records from an Access Table into a listbox. Unfortunately, I am maintaining a form which was developed in Access. The Listbox control in access does not support the AddItem Method. Any suggestions on how I might add records to this Access97 listbox (without using the wizard)?
Thanks
-Aaron
-
November 24th, 1999, 03:01 PM
#2
Re: Access97 Listbox Control
All you do is Create a Semi-Colon Delimited String on Items and Assign it the the RowSource Property, making sure the RowSourceType Property is set to "Value List", eg.
List1.RowSourceType = "Value List"
List1.RowSource = "Item1;Item2;Item3;"
Aaron Young
Analyst Programmer
[email protected]
[email protected]
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
|