Hi Everyone,
I have seen many variations on this problem, but nothing that quite relates to my own, specific issue.
I am trying to copy text from a field on a form and paste it into another text field on the same form. Both fields are standard text fields, from the same table.
The VBA command: DoCmd.RunCommand acCmdCopy does not work under any circumstance in my database. It juts throws the error:
Error 2046 'The command or action 'Copy' isn't available now'
I have tried creating new forms from scratch, new tables, new database files entirely...you name it. But the acCmdCopy function just keeps putting out that same error.
I have no idea what is causing this. I've checked record locks, allow additions, enabled, visible etc. in the form properties and all are correct. I have re-created a simple form with no other VBA code and just added the two text fields and nothing else....still won't copy. The paste command works fine, and I have checked the behaviour entering field as well.
Does anyone have any idea what might be causing Access to not allow this command to run? It always used to work in the past.
Thanks very much,
Chris
I have seen many variations on this problem, but nothing that quite relates to my own, specific issue.
I am trying to copy text from a field on a form and paste it into another text field on the same form. Both fields are standard text fields, from the same table.
The VBA command: DoCmd.RunCommand acCmdCopy does not work under any circumstance in my database. It juts throws the error:
Error 2046 'The command or action 'Copy' isn't available now'
I have tried creating new forms from scratch, new tables, new database files entirely...you name it. But the acCmdCopy function just keeps putting out that same error.
I have no idea what is causing this. I've checked record locks, allow additions, enabled, visible etc. in the form properties and all are correct. I have re-created a simple form with no other VBA code and just added the two text fields and nothing else....still won't copy. The paste command works fine, and I have checked the behaviour entering field as well.
Does anyone have any idea what might be causing Access to not allow this command to run? It always used to work in the past.
Thanks very much,
Chris