Skip to main content
Solved

Restrict LOOKUP to record with max value in field

  • July 14, 2021
  • 1 reply
  • 20 views

Forum|alt.badge.img

Hello!

I’m looking for a way to restrict a lookup to only the record with the max date in a date field.

Context: Managing a vehicle fleet

Bases:

  1. Registration

  2. VIN

Desired outcome
Only display the license plate that is associated with the registration record that has the max “license plate exp date” value.

I’m not sure how to go about this. Seems like there may be a way to do so by

  1. creating a view in the registration base that only shows the records with the most recent
  2. restricting the lookup to that view

but can’t figure out the first step there.

Any help appreciated.

Best answer by ScottWorld

See this thread, but do the latest date instead of earliest date:

1 reply

ScottWorld
Forum|alt.badge.img+35
  • Genius
  • Answer
  • July 14, 2021

See this thread, but do the latest date instead of earliest date: