M
michael c
Yesterday my form worked fine. Today, when I press a
command button to open a form using the docmd command, I
get an "invalid procedure call or argument" error. My code
is:
Private Sub Cost_Centers_Button_Click()
DoCmd.OpenForm "frmTECostCenters", acNormal
End Sub
Private Sub Employees_Button_Click()
DoCmd.OpenForm "frmMain", acNormal
End Sub
Private Sub Fleet_All_Vehicles_Button_Click()
DoCmd.OpenForm "frmFleetAllVehicles", acNormal
End Sub
Private Sub Fleet_Car_Allowance_Button_Click()
DoCmd.OpenReport "rptFleetCarAllowance", acViewPreview
End Sub
Private Sub Fleet_Car_Types_Button_Click()
DoCmd.OpenForm "frmFleetCarTypes", acNormal
End Sub
command button to open a form using the docmd command, I
get an "invalid procedure call or argument" error. My code
is:
Private Sub Cost_Centers_Button_Click()
DoCmd.OpenForm "frmTECostCenters", acNormal
End Sub
Private Sub Employees_Button_Click()
DoCmd.OpenForm "frmMain", acNormal
End Sub
Private Sub Fleet_All_Vehicles_Button_Click()
DoCmd.OpenForm "frmFleetAllVehicles", acNormal
End Sub
Private Sub Fleet_Car_Allowance_Button_Click()
DoCmd.OpenReport "rptFleetCarAllowance", acViewPreview
End Sub
Private Sub Fleet_Car_Types_Button_Click()
DoCmd.OpenForm "frmFleetCarTypes", acNormal
End Sub