G
Guest
I ahve two forms: Work Order Form and a Navigation Form. The Navigation
form has the buttons, such as "Print Current Job", "Delete Current Job", Etc.
The problem is that the functions apply to the Navigation Form and not the
Work Orcer Form.
How do I change the code for the buttons to apply to the other form?
Here is an example of the code:
Private Sub Delete_Current_Job_Click()
On Error GoTo Err_Delete_Current_Job_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Exit_Delete_Current_Job_Click:
Exit Sub
Err_Delete_Current_Job_Click:
MsgBox Err.Description
Resume Exit_Delete_Current_Job_Click
End Sub
form has the buttons, such as "Print Current Job", "Delete Current Job", Etc.
The problem is that the functions apply to the Navigation Form and not the
Work Orcer Form.
How do I change the code for the buttons to apply to the other form?
Here is an example of the code:
Private Sub Delete_Current_Job_Click()
On Error GoTo Err_Delete_Current_Job_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Exit_Delete_Current_Job_Click:
Exit Sub
Err_Delete_Current_Job_Click:
MsgBox Err.Description
Resume Exit_Delete_Current_Job_Click
End Sub