Strange compile error on ComboBox.AddItem method
Posted on 2003-02-18
Access97: I created a fresh database with 1 form and no tables. The form has 1 control - an unbound combo box. You cannot get simpler than this.
Now, the form module has 1 line of code:
When I compile the database I get a compile error saying ".AddItem method or data member not found".
I think this might have something to do with having installed Access 2002 - I'm still running 97. However, from what I understand there should be no problem running both versions...
In case it helps, the References in Access 97 are:
1. Visual Basic for Applications (..\common files\MS shared\VBA\VBA332.dll)
2. MS Access 8.0 Object Library (..\Office\MSACC8.OLB)
3. MS DAO 3.51 Object Library (..\common files\MS shared\DAO\DAO350.dll)