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] If Me![purple][b]subFormName[/b][/purple].form.RecordsetClone.RecordCount=0 then
MsgBox "No records found!"
End If[/blue]
[blue] Dim Msg As String, Style As Integer, Title As String
If DCount("[[purple][b]PrimaryKeyName[/b][/purple]]", "[purple][b]YourTableName[/b][/purple]") = 0 Then
Msg = "There are no records for subform '" & Me.Name & "'"
Style = vbInformation + vbOKOnly
Title = "No Records Error! . . ."
MsgBox Msg, Style, Title
End If[/blue]