Do you have any missing references? It sounds like AddListToAll is a function. If it is not in the current database then you might be missing a reference to another database or library. Open a module (new or existing) and then look in Tools>References. Look for anything that says MISSING.
It might also be a compilation problem. Try to compile your database. Open a new module or existing module and then run Debug>Compile All Modules.