I am trying to calculate the total time from a start and finish time. I am using the experssion:
txtDiff = DateDiff("h", txtStart, txtEnd) & ":" & DateDiff("n", txtStart, txtEnd) Mod 60
as show in a thread, but when i try to execute it the message "Microsoft access can't find the macro txtDiff = DateDiff("h", txtStart, txtEnd) & ":" & DateDiff("n", txtStart, txtEnd) Mod 60. The macro does not exist."
As far as i am aware i am not using a macro. Should i be?
txtDiff = DateDiff("h", txtStart, txtEnd) & ":" & DateDiff("n", txtStart, txtEnd) Mod 60
as show in a thread, but when i try to execute it the message "Microsoft access can't find the macro txtDiff = DateDiff("h", txtStart, txtEnd) & ":" & DateDiff("n", txtStart, txtEnd) Mod 60. The macro does not exist."
As far as i am aware i am not using a macro. Should i be?