The behavior is the way Access has always worked. If you cut/copy a button,
the code does not go with it. When you paste a control into a form that has
the right code for an event procedure, the relevant property does not get
set to [Event Procedure].
It does work the other way round, though. After pasting controls in, you can
go to the code window, select all the code (Ctrl+A), cut (Ctrl+X), and paste
(Ctrl+V.) You will find that Access does set the relevent properties to
[Event Procedure] for the controls on the form.
If you have not yet discovered MZ Tools (mztools.com), it does provide a way
to cut/paste controls and their code.

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
> My colleagues and I have a problem that occurs while designing access
> forms
[quoted text clipped - 32 lines]
> this
> behaviour by design?
DavidBoyle - 10 Mar 2008 11:11 GMT
Thanks so much - David
>The behavior is the way Access has always worked. If you cut/copy a button,
>the code does not go with it. When you paste a control into a form that has
[quoted text clipped - 14 lines]
>> this
>> behaviour by design?