5ilversaracen
Programmer
Hi
I'm developing an Access Application using Access 2002. I can't seem to populate ItemData in dropdown though. My code (which is triggered by the form onload event) is:
Combo0.AddItem "My string"
Combo0.ItemData(Combo0.NewIndex) = 2
The error I get is:
Method or Data Member not found
I have also tried:
Combo0.ItemData(Combo0.ListCount - 1) = 2
but that doesn't work either.
Has anyone got any ideas on this?
Many thanks in advance.
I'm developing an Access Application using Access 2002. I can't seem to populate ItemData in dropdown though. My code (which is triggered by the form onload event) is:
Combo0.AddItem "My string"
Combo0.ItemData(Combo0.NewIndex) = 2
The error I get is:
Method or Data Member not found
I have also tried:
Combo0.ItemData(Combo0.ListCount - 1) = 2
but that doesn't work either.
Has anyone got any ideas on this?
Many thanks in advance.