Can any one help me please? The following VB code does work in Access '97 but not 2000. dim db as database