![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Have a list box that I'm trying to populate on an Access 2000 form. Created in XP version as 2000 format. When run in computer with Access 2000, I get an error that the .AddItem method is not supported. Anybody have a clue what the problem might be? |
|
Thanks in advance. -- / Sean the Mc / "I have not failed. I've just found 10,000 ways that won't work." - Thomas Alva Edison (1847-1931) |
#3
| |||
| |||
|
|
"What-a-Tool" <Die!FrigginSpammersDieDie!@NoShitSherlock.Net> wrote in message news:4lqDb.8334$WQ3.2156 (AT) lakeread05 (DOT) .. Have a list box that I'm trying to populate on an Access 2000 form. Created in XP version as 2000 format. When run in computer with Access 2000, I get an error that the .AddItem method is not supported. Anybody have a clue what the problem might be? AddItem to ListBox IS NOT available in 2000. Set the Row Source Type Property to 'Value List' The following adds items from TextBox Text1 to ListBox List1: Private Sub Command0_Click() If List1.RowSource = "" Then List1.RowSource = Text1.Value Else List1.RowSource = List1.RowSource & ";" & Text1.Value End If Text1.Value = "" End Sub Thanks in advance. -- / Sean the Mc / "I have not failed. I've just found 10,000 ways that won't work." - Thomas Alva Edison (1847-1931) |
![]() |
| Thread Tools | |
| Display Modes | |
| |