S
Scott Whetsell, A.S. - WVSP
I am trying to get a query to return the most recent record for each person
in the table.
Table fields include:
UL_UnitID
UL_Date
UL_Time
UL_STS
I need the query to return the most recent record for each unit based on the
date and the time. Using the 'max' option it will return the latest date or
the latest time. I cannot use the 'last' option because some updates may not
be done in correct order. I attempted to query the table first and create a
combined DateTime field of: [UL_Date] & " " & [UL_Time]. That will still not
correctly return the most recent record for both date and time.
Thanks,
in the table.
Table fields include:
UL_UnitID
UL_Date
UL_Time
UL_STS
I need the query to return the most recent record for each unit based on the
date and the time. Using the 'max' option it will return the latest date or
the latest time. I cannot use the 'last' option because some updates may not
be done in correct order. I attempted to query the table first and create a
combined DateTime field of: [UL_Date] & " " & [UL_Time]. That will still not
correctly return the most recent record for both date and time.
Thanks,