I
iis
Hello everyone,I hope someone help me on this.
I have entered a button on a form for dublicate record that contains this
code.I need to put an extention that displays a yes/no message and if answer
is yes proceed in dublicate record action.I need exactly what to put because
i am new to this.
Thanks
Private Sub Command157_Click()
On Error GoTo Err_Command157_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 'Paste Append
Exit_Command157_Click:
Exit Sub
Err_Command157_Click:
MsgBox Err.Description
Resume Exit_Command157_Click
End Sub
I have entered a button on a form for dublicate record that contains this
code.I need to put an extention that displays a yes/no message and if answer
is yes proceed in dublicate record action.I need exactly what to put because
i am new to this.
Thanks
Private Sub Command157_Click()
On Error GoTo Err_Command157_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 2, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 5, , acMenuVer70 'Paste Append
Exit_Command157_Click:
Exit Sub
Err_Command157_Click:
MsgBox Err.Description
Resume Exit_Command157_Click
End Sub