V
VitoCorleone
Guest
Hi,
i get this error on the bolded part of my code:
tried lots of things, and have no idea what's wrong, maybe someone could help me out with that?
thx in advance!
Run-time error 13:
Type mismatch
i get this error on the bolded part of my code:
Private Sub Form_Open(Cancel As Integer)
Dim a, b As Single
Dim c As String
Dim d As Double
Dim dbBank As Database
Dim tKonta, tRodzaj, tOp As Recordset
Set dbBank = CurrentDb
Set tRodzaj = dbBank.OpenRecordset("Rodzaj konta", dbOpenSnapshot)
Set tKonta = dbBank.OpenRecordset("Konta", dbOpenDynaset)
Set tOp = dbBank.OpenRecordset("Operacje kasowe", dbOpenDynaset)
a = Format(Now, "dd")
b = 0
If a <= 7 Then
...and so on...
tried lots of things, and have no idea what's wrong, maybe someone could help me out with that?
thx in advance!