Queries

P

Pishoy

I'm trying to creat a query using 2 tables(A,B). Table "A"
i'm using all the information in it, but table "B" I want
to use the most recent Financial information "Date wise"

If someone can help please
Thanks
 
J

John Vinson

I'm trying to creat a query using 2 tables(A,B). Table "A"
i'm using all the information in it, but table "B" I want
to use the most recent Financial information "Date wise"

If someone can help please
Thanks

Use a criterion

=(SELECT Max(BCrit.[your date field]) FROM B AS BCrit WHERE
BCrit.[linking field] = A.[linking field])
 
L

Larry

-----Original Message-----
I'm trying to creat a query using 2 tables(A,B). Table "A"
i'm using all the information in it, but table "B" I want
to use the most recent Financial information "Date wise"

If someone can help please
Thanks

.
Try create a query with your criteria on the dates from
tableB then use that query instead of tableB in your
orginal query
 

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

Top