Professional Documents
Culture Documents
Private Sub CCS
Private Sub CCS
Total = 0
totamnt.Caption = Total
If tbx4.Value & tbx5.Value & tbx6.Value & tbx7.Value & tbx8.Value & _
tbx9.Value & tbx10.Value & tbx11.Value & tbx12.Value & tbx13.Value & _
totamnt.Caption = ""
Else
If totamnt.Caption = 0 Then
totamnt.Caption = ""
Else
End If
On Error GoTo 0
Exit Sub
errHandler:
Me.tbx7.Value = ""
End Sub
Private Sub Add_Click()
Dim dbPath
Else
'Error handler
dbPath = "C:\Users\CDL\Documents\CRMSv5.accdb"
CursorType:=adOpenDynamic, LockType:=adLockOptimistic, _
Options:=adCmdTable
With rst
.AddNew
.Fields("Period_Covered").Value = tbx1
'
' Else
' End If
' Else
' .Fields("Other_Account_Name").Value = ""
' .Fields("Other_Receipts").Value = 0
' End If
ElseIf tbx3.Value <> "Felipina L. Soriano" Or tbx3.Value <> "Marie Antonette G. Aclan" Or _
End If
.Update
End With
rst.Close
cnn.Close
srchbx.Value = tbx1.Value
import
For x = 1 To 13
Next
tbx1.SetFocus
On Error GoTo 0
Exit Sub
errHandler:
MsgBox "Error " & Err.Number & " (" & Err.Description & ") in procedure cmdAdd"
End If
End Sub