D
Diane-Maplewood
I am receiving an "!" message box asking whether to save data on clipboard
when exiting the database. The exact message is: "! You copied a large
amount of data onto the Clipboard...Do you want to save this data on the
Clipboard? ... followed by "Yes" or "No" boxes.
This only happens when a record is copied in the subform. The code for the
"copy record" button is...
--------------
Private Sub dup_record_Click()
On Error GoTo Err_dup_record_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 'Paste Append
Me.SUPPLIER.SetFocus
ClearTotals 'private function in this code section
Exit_dup_record_Click:
Exit Sub
Err_dup_record_Click:
MsgBox Err.DESCRIPTION
Resume Exit_dup_record_Click
End Sub
------------
I have gone into the "Edit" "Office Clipboard" and unchecked all options.
To exit the database from the form, I am using a simple command button to
'exit database'.
How do I get rid of this message box?
Thank you for your time and any info. -Diane
when exiting the database. The exact message is: "! You copied a large
amount of data onto the Clipboard...Do you want to save this data on the
Clipboard? ... followed by "Yes" or "No" boxes.
This only happens when a record is copied in the subform. The code for the
"copy record" button is...
--------------
Private Sub dup_record_Click()
On Error GoTo Err_dup_record_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 'Paste Append
Me.SUPPLIER.SetFocus
ClearTotals 'private function in this code section
Exit_dup_record_Click:
Exit Sub
Err_dup_record_Click:
MsgBox Err.DESCRIPTION
Resume Exit_dup_record_Click
End Sub
------------
I have gone into the "Edit" "Office Clipboard" and unchecked all options.
To exit the database from the form, I am using a simple command button to
'exit database'.
How do I get rid of this message box?
Thank you for your time and any info. -Diane