Hi,
I was wondering if someone could tell me the easiest (and/or best) method to check if a table exists in a backend database.
What I am wanting to do is add to the OnOpen procedure of my splash screen in the frontend a routine that checks if a particular table exists in the backend and if it doesn't uses the Docmd.transferdatabase method to copy it from the frontend to the backend. I will have a empty table in the frontend for copying purposes and a link set up ready for when the table gets copied. Obviously once the table is copied I don't want it to happen again as it will keep writing over peoples data (I am distributing this database). I can do the copying bit but don't know how to do the checking bit. Am I on the right track or is there another way?
Thanks
Rachael
I was wondering if someone could tell me the easiest (and/or best) method to check if a table exists in a backend database.
What I am wanting to do is add to the OnOpen procedure of my splash screen in the frontend a routine that checks if a particular table exists in the backend and if it doesn't uses the Docmd.transferdatabase method to copy it from the frontend to the backend. I will have a empty table in the frontend for copying purposes and a link set up ready for when the table gets copied. Obviously once the table is copied I don't want it to happen again as it will keep writing over peoples data (I am distributing this database). I can do the copying bit but don't know how to do the checking bit. Am I on the right track or is there another way?
Thanks
Rachael