Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[blue] Dim Msg As String, Style As Integer, Title As String, DL As String
DL = vbNewLine & vbNewLine
If Trim(Me![purple][b][i]TextboxName[/i][/b][/purple] & "") = "" Then
Msg "'[purple][b][i]TextboxName[/i][/b][/purple]' is Required!" & DL & _
"Enter data or hit 'Esc' to abort the record . . ."
Style = vbInformation + vbOKOnly
Title = "Missing Data Error! . . ."
MsgBox Msg, Style, Title
[b]Cancel = True[/b]
Me![purple][b][i]TextboxName[/i][/b][/purple].SetFocus
End If[/blue]
[blue] DL = vbNewLine & vbNewLine
[purple][b]If Me.Dirty Then Me.Dirty = False[/b][/purple][/blue]