Is there any way to trap compile errors and have Access ignore them?
I have included a 'Dim fd As FileDialog' command in my 2003 database, which creates a compile error when run in Access 2000. I want to insert alternate code so that if the application is run in 2000, then it will skip this compile error and run the 2000 code.
Can I do this? I've tried setwarnings = false and on error, but the compile error keeps tripping.
If you have any other alternatives I'd be grateful too.
Thanks in advance.