error message

G

Guest

I am getting the following error message when I try to
rename a table using a macro called from a button on a
form.

"The database engine could not lock table "Data" because
it is already in use by another person or process".

If i run the macro by double clicking on it, it works
fine. Any thoughts?

Thanks
 
Top