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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Ms Access Dsum help? 0
Get Data for Field by Dlookup 1
Vacation Date Problem 5
Lock Calendar 1
Plz...Help 3
LookUp Table 3
Temporary key has expired 1
Make Changes To Specific Records at the same time 2

Back
Top