I have this code
Private Sub Form_Open(Cancel As Integer)
Dim strMsg As String
If (Nz(Me.[TA Number], "") = "") Then
strMsg = "No Travels to Approve."
If MsgBox(strMsg, vbRetryCancel + vbExlcamation, "Incomplete Data")
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/14001-revise-code.html
= vbRetry Then
Me.[TA Number].SetFocus
Exit Sub
Else
Me.Undo
DoCmd.Close acForm, Me.Name, acSaveNo
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=14001
Exit Sub
End If
End If
DoCmd.OpenForm "Appoved"
End Sub
Instead of it saying retry cancel. Can I have it say go to approval or okay?
This will make more sense to the person operating it.
Thanks
Chey