Hi
This is the code that i have written and when i hit the Ok button or the cancel button they both do the same thing and when i hit the ok button the form opens but goes to the background. could someone please help
Private Sub Maintenance_Click()
MsgBox ("Email Todd Harvey About the Problem With the Truck"
, vbOKCancel
If "1" Then
DoCmd.OpenForm ("frmToddEmail"
, acNormal
End If
If "2" Then
DoCmd.OpenForm ("frmTruckSheet"
, acNormal
End If
End Sub
thanks for the help
IAMUSELESS
This is the code that i have written and when i hit the Ok button or the cancel button they both do the same thing and when i hit the ok button the form opens but goes to the background. could someone please help
Private Sub Maintenance_Click()
MsgBox ("Email Todd Harvey About the Problem With the Truck"
If "1" Then
DoCmd.OpenForm ("frmToddEmail"
End If
If "2" Then
DoCmd.OpenForm ("frmTruckSheet"
End If
End Sub
thanks for the help
IAMUSELESS