to show only last date from a table

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a table for employee vacation dates. How can i get a text box in a
form to show only the last vacation date?
 
I have a table for employee vacation dates. How can i get a text box in a
form to show only the last vacation date?

Set its control source to

=DMax("[vacationdate]", "[tablename]", "[employeeID] = " & [EmployeeID])

using your own field and table names of course.

John W. Vinson [MVP]
 
Thanks
--
Mr. G.


John W. Vinson said:
I have a table for employee vacation dates. How can i get a text box in a
form to show only the last vacation date?

Set its control source to

=DMax("[vacationdate]", "[tablename]", "[employeeID] = " & [EmployeeID])

using your own field and table names of course.

John W. Vinson [MVP]
 
Back
Top