I have a command button that selects all the data from a form, copies it to the clipboard and pastes it to the table (This is done to copy a record already in the table). The process works fine except when I close the form, I get the Access message about copying a large amount of data to the clipboard, do I want to save it? It does not matter whether you say yes or no, since the data has already been pasted. Is there a way to suppress that message or get around having the user have to answer it?
Below is the code behind the button--
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 'Paste Append
Thanks!
[sig]<p>jgarnick<br><a href=mailto:jgarnick@aol.com>jgarnick@aol.com</a><br><a href= > </a><br> [/sig]
Below is the code behind the button--
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 'Paste Append
Thanks!
[sig]<p>jgarnick<br><a href=mailto:jgarnick@aol.com>jgarnick@aol.com</a><br><a href= > </a><br> [/sig]