Access - Date Function causes Division b - TechRepublic
General discussion
August 9, 2000 at 05:00 AM
kkenkel513

Access – Date Function causes Division b

by kkenkel513 . Updated 25 years, 9 months ago

I have two computers that exhibit this same problem and I don’t know how to solve it. The line of code is :

Set validrec = db.OpenRecordset(“SELECT ValidationRunDates.ValidationDate FROM ValidationRunDates WHERE (((ValidationRunDates.ValidationDate)=” & Date & “));”)

The error is Division by Zero, which makes NO sense to me in this context. We’ve even tried reloading Access thinking that one of the DLL files had become corrupt.

Any suggestions would be greatly appreciated!

This discussion is locked

All Comments