I am trying to replace a table in another database with a table in the current database using the docmd.copyobject comand.
The coding works, however, I always get the warning "The name you entered already exists ... Do you want to replace the existing table?"
SetWarnings doesn't work because the default is "No" and I need "Yes".
Is there a way to set the SetWarnings to answer something other then the default?
If not, is there another way to have automatically answer the warning with a "Yes".
Thanks!!
The coding works, however, I always get the warning "The name you entered already exists ... Do you want to replace the existing table?"
SetWarnings doesn't work because the default is "No" and I need "Yes".
Is there a way to set the SetWarnings to answer something other then the default?
If not, is there another way to have automatically answer the warning with a "Yes".
Thanks!!