Hi:
Have recently upgraded my access databases to 2016 - all are fine except one which keeps coming back with the above runtime error.
The code affected is:
Function dayendlast()
Dim db As Database
Dim rst As Recordset
Dim strcriteria As String
Set db = CurrentDb()
Set rst = db.OpenRecordset("dayendt")
strcriteria = "[dt] >= 0"
rst.FindLast strcriteria
dayendlast = rst!dayendrun
rst.Close
End Function
Cab anyone help?
Arend