Hi,
I attached my application. When I use single area (for example Alan1) for copy-paste application, below code is working without any problem on the button event.
HTML Code:
DoCmd.GoToControl "Alan1"DoCmd.RunCommand acCmdCopyDoCmd.GoToRecord , , acNewRecDoCmd.GoToControl "Alan1"DoCmd.RunCommand acCmdPaste
But when I attached Alan2, Alan3,..... this code structure is not working for copy-paste application. For example attached application is including Alan1 and Alan2 areas. Where is my mistake? Thanks.