Hello all!
Hope you can help me out. I have the following line of code:
DoCmd.Rename "rpt_RedLetter_Collection_IRL", acReport, "rpt_RedLetter_Collection_Active"
Everytime the code hits this report i get the following error:
Run-time error '29068' Microsoft Access cannot complete this operation. You must stop the code and try again.
Now if I go into my reports and manually open the report and close it and rerun the code it works fine!!!
Anyone any ideas??
Thanks
Dee
Hope you can help me out. I have the following line of code:
DoCmd.Rename "rpt_RedLetter_Collection_IRL", acReport, "rpt_RedLetter_Collection_Active"
Everytime the code hits this report i get the following error:
Run-time error '29068' Microsoft Access cannot complete this operation. You must stop the code and try again.
Now if I go into my reports and manually open the report and close it and rerun the code it works fine!!!
Anyone any ideas??
Thanks
Dee