|
-
January 9th, 2000, 09:12 PM
#1
List Box Help
I would like to get data from my Access database and have it come up in a list box similer to a grid And i need a bar in the list box to pick a row of text.
-
January 9th, 2000, 10:54 PM
#2
Re: List Box Help
You will have to use List View.
I am puting here a sample. You have to set up the ListView from Properties : View = lvwReport
Dim itmX As ListItem
ListView.ColumnHeaders.Add , , "Fields", 1500
ListView.ColumnHeaders.Add , , "Code", 2500
Set itmX = frmList.lvw1.ListItems.Add(, , "Field")itmX.SubItems(1) = Left(CodesForFields, "Other Field")
Check your MSDN Help for more info
Good luck
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
|