Hi.
I'm using....
Public Function countOutstandingCashbook() As Integer
countOutstandingCashbook = DCount("[Date]", "tblCashbook", ""
End Function
...to count the number of records in my tblCashbook table, which has 45783 records in it (standard stuff).
I get 'Runtime Error 6 Overflow' in response, which I find odfd as 45K may be a lot of records but I wouldn't have thought that it would give Access a problem.
Any ideas as to why this should happen?? Any ideas for a fix?
Anything Appreciated.
Regards
Russie
I'm using....
Public Function countOutstandingCashbook() As Integer
countOutstandingCashbook = DCount("[Date]", "tblCashbook", ""
End Function
...to count the number of records in my tblCashbook table, which has 45783 records in it (standard stuff).
I get 'Runtime Error 6 Overflow' in response, which I find odfd as 45K may be a lot of records but I wouldn't have thought that it would give Access a problem.
Any ideas as to why this should happen?? Any ideas for a fix?
Anything Appreciated.
Regards
Russie