D
DubboPete
Hi all,
I am trying to look up the last entry in a field which contains
odometer readings, based on the vehicle registration chosen in Combo1,
which ties back to [Fleet Number] in table CALCS.
The field I want to focus on isEndOdo. It's also in the table CALCS.
I am getting runtime error 2001 every time I try to run it.
Here's the code in the after update event of Combo1:
Me.EndOdo = DMax("[EndOodo]", "calcs", "[fleet number] = " &
Forms!FuelCalcs![Combo1])
Any clues out there?
cheers
DubboPete
I am trying to look up the last entry in a field which contains
odometer readings, based on the vehicle registration chosen in Combo1,
which ties back to [Fleet Number] in table CALCS.
The field I want to focus on isEndOdo. It's also in the table CALCS.
I am getting runtime error 2001 every time I try to run it.
Here's the code in the after update event of Combo1:
Me.EndOdo = DMax("[EndOodo]", "calcs", "[fleet number] = " &
Forms!FuelCalcs![Combo1])
Any clues out there?
cheers
DubboPete