'------------------------------------------------------------
' cmdSupportingCh_Click via Dick's Main menu
'opens church form filtered with just supporting churches
'------------------------------------------------------------
Private Sub cmdSupportingCh_Click()
On Error GoTo errorHandlerSuppCh_SPC ' SPC stands for supporting churches
Dim strFrmName As String
strFrmName = "frmChurchesAllDick"
DoCmd.OpenForm strFrmName
DoCmd.ApplyFilter "qrySupportingCh"
With Forms(strFrmName)
.fX ("Supporting Churches")
End With
DoCmd.Close acForm, "frmMainMenuDick", acformyes
Exit Sub
errorHandlerSuppCh_SPC:
MsgBox "An error has accrued. You will be taken back to 'Welcome' screen. If it happens
again try closing the program and re-opening it. If that doesn't work call Dick", vbDefaultButton2
DoCmd.OpenForm "frmSplash"
End Sub