ASk : Query result for Latest Date (1 Viewer)

sandy70

Registered User.
Local time
Yesterday, 22:03
Joined
Apr 16, 2008
Messages
36
hi , i try to make a query that can show me data from the lastest and max date from the table i have ( see attchment file )

I try using max but still the result is not what i am looking for

Anybody can help me ???
 

Attachments

  • M0004.jpg
    M0004.jpg
    49.5 KB · Views: 102

pr2-eugin

Super Moderator
Local time
Today, 06:03
Joined
Nov 30, 2011
Messages
8,494
Are you trying to get the Max of one record in a Group? If so, check this thread, it might interest you..
 

sandy70

Registered User.
Local time
Yesterday, 22:03
Joined
Apr 16, 2008
Messages
36
Are you trying to get the Max of one record in a Group? If so, check this thread, it might interest you..

tq for your help , i got it but its look so messy :D :D
 

Attachments

  • db9.mdb
    272 KB · Views: 80

pr2-eugin

Super Moderator
Local time
Today, 06:03
Joined
Nov 30, 2011
Messages
8,494
Could you in simple English, explain what you wish to involve in the Query..

Could you please define Lastest and Max of a product??

You have some data which makes no sense to me.. What is that I am supposed to look at on the DB ??
 

Brianwarnock

Retired
Local time
Today, 06:03
Joined
Jun 2, 2003
Messages
12,701
Sandy you do not need to create alias X Product & date as you can join Q 10 back to the table on Date and Product, just make the two joins.

Brian
 

Brianwarnock

Retired
Local time
Today, 06:03
Joined
Jun 2, 2003
Messages
12,701
As a secondary issue avoid spaces and special haracters in names as it will make coding simpler and allow ACCESS to check syntax in some circumstaces.
If you don't like Q10 you can use the underscore Q_10

Brian
 

Users who are viewing this thread

Top Bottom