Making a field pull a last date from a table (1 Viewer)

mrssevans

Registered User.
Local time
Today, 12:19
Joined
Nov 15, 2001
Messages
190
I am needing a field on a form to pull the last date of contact from a table or query. It is the last date a customer was contacted however there maybe many date, but I need the most current date. Any suggestions?
 

mrssevans

Registered User.
Local time
Today, 12:19
Joined
Nov 15, 2001
Messages
190
My problem is that i don't know how to tell that field (that is not in the same table) to find the same customers ID find the last field and show that one. When i created a query and directed the field to the query (which worked fine) I had an Name# error. What do I do now?
 

Anauz

Registered User.
Local time
Today, 12:19
Joined
Nov 14, 2000
Messages
81
I'm not sure exactly what you want..

i think the Name# error means it did not recognise the field.

Here is what i think you should do.

1. Build a query that accepts the name of the customer you want to look at.

2. Make sure it returns the right result.

3. Build a form that passes the name of the customer to the query


I pressume that you have done parts 1 and 2...and you now need to pass the customer name to the query?
 

Anauz

Registered User.
Local time
Today, 12:19
Joined
Nov 14, 2000
Messages
81
I think I have replicated your problem.

Here is what you need to do.

On the field you get Name# error

Change the data source to MaxOf(name of your field)
 

Users who are viewing this thread

Top Bottom