Here's your stupid question of the day ~ So frustrating!
This works perfecxtly:
Me.TxtTtlDays = Date - DMax("PurchDate", "TblVehicleExp", "Type = 'Gas'")
This is what I'm trying to get to work but it returns NULL:
Me.TxtTtlDays = MeTxtDate - DMax("PurchDate", "TblVehicleExp", "Type = 'Gas'")
I've tried all of these...And well, here I am:
Me.TxtTtlDays = 'MeTxtDate' - DMax("PurchDate", "TblVehicleExp", "Type = 'Gas'")
Me.TxtTtlDays = "'MeTxtDate'" - DMax("PurchDate", "TblVehicleExp", "Type = 'Gas'")
Me.TxtTtlDays = #MeTxtDate# - DMax("PurchDate", "TblVehicleExp", "Type = 'Gas'")
Me.TxtTtlDays = (MeTxtDate - DMax("PurchDate", "TblVehicleExp", "Type = 'Gas'"))
Me.TxtDate is formatted as Short Date in the property sheet
What am I missing???
Thank You all