How to enable 'Copy' RunCommand?

rodvaN

Registered User.
Local time
Today, 05:59
Joined
May 20, 2009
Messages
92
Ive been trying so hard to enable this button that duplicate the entry.. But I dont know why in Access 2007 it displays that it cannot Execute RunCommand 'copy' because it is unabled.
How can I enable the 'Copy' RunCommand?
Thanks in advance
 
What VBA code are you using?

Are you selecting the record first?

Are us using something like?

Code:
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdCopy
DoCmd.RunCommand acCmdRecordsGoToNew
DoCmd.RunCommand acCmdSelectRecord
DoCmd.RunCommand acCmdPaste


I find it better to use something like this:

Duplicate the record in form and subform
 
Just found the answer, it as the database security properties, I already added the extention where my database where saved.
My documents.
It just was a matter of security.
Thanks anyways.
 

Users who are viewing this thread

Back
Top Bottom