Hi,
My application uses a standard report as a template. Every time the user runs a report, a temporary copy of the standard report is made (using docmd.copyobject) with a unique name. This copy is then modified to that particular users needs. Each day, I have a clean-up function that deletes all those temporary reports.
This worked fine in Access 97. I am in the process of converting to Access 2002, and now find that copyobject fails if there is more than one person using the database. I get error #2501, 'The CopyObject action was canceled."
Yes, I have the database set for shared access.
Any ideas appreciated.
My application uses a standard report as a template. Every time the user runs a report, a temporary copy of the standard report is made (using docmd.copyobject) with a unique name. This copy is then modified to that particular users needs. Each day, I have a clean-up function that deletes all those temporary reports.
This worked fine in Access 97. I am in the process of converting to Access 2002, and now find that copyobject fails if there is more than one person using the database. I get error #2501, 'The CopyObject action was canceled."
Yes, I have the database set for shared access.
Any ideas appreciated.