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.
MsgBox Err.Number & ": " & Err.Description
.............
ErrorHandlerExit:
Exit Sub
ErrorHandler:
[b]If err = 3021 Then [/b] [COLOR=green]' no current record[/color]
[b]Resume Next[/b]
Else
MsgBox "Error No: " & err.Number & "; Description: " & err.Description
Resume ErrorHandlerExit
End If
...........
.............
ErrorHandlerExit:
Exit Sub
ErrorHandler:
If err = 3021 Then [COLOR=green] ' no current record[/color]
[b] MsgBox "No Records Available for this selection......"[/b]
Else
MsgBox "Error No: " & err.Number & "; Description: " & err.Description
Resume ErrorHandlerExit
End If
...........
.............
ErrorHandlerExit:
Exit Sub
ErrorHandler:
If err = 3021 Then [COLOR=green]' no current record[/color]
[b]DoCmd.OpenForm "formName"
forms!fromName.LabelName.Caption="Your message"
[/b]Else
MsgBox "Error No: " & err.Number & "; Description: " & err.Description
Resume ErrorHandlerExit
End If
...........