J
Jennifer
First hand- I'm working on a pricing database- and if you know anything about
prices, they are Always changing...
My current table is set up as follows:
Fields:
Vendor, PO #, Item #, Price, PO Create Date, Price Effect Date, Determiner.
Field: Determiner is calculated; "Price Effect Date - PO Create Date"
I have a qry that deletes all positive numbers. I know want to qry the "MAX"
of the determiner to find the lowest negative # per each po# & item #.
For Example:
PO # Item# Price PO Create Date Price Effect Date
Determiner
4414541 0464164 $10.00 2/9/09 1/28/08
-378
4414541 0464164 $11.08 2/9/09 5/6/08
-279
4464641 8090797 $12.03 2/9/09 3/27/08
-319
4464641 8090797 $12.97 2/9/09 8/28/08
-165
So, I want to query off this table to show the MAX of the determiner at each
PO & Item #. Meaning I would want to query to show only, the second & fourth
lines, determiner -279 & -165.
I've tried using the Dmax function, but I don't think its helping me or it's
not what I need. Any help???
Thanks, Jennifer
prices, they are Always changing...
My current table is set up as follows:
Fields:
Vendor, PO #, Item #, Price, PO Create Date, Price Effect Date, Determiner.
Field: Determiner is calculated; "Price Effect Date - PO Create Date"
I have a qry that deletes all positive numbers. I know want to qry the "MAX"
of the determiner to find the lowest negative # per each po# & item #.
For Example:
PO # Item# Price PO Create Date Price Effect Date
Determiner
4414541 0464164 $10.00 2/9/09 1/28/08
-378
4414541 0464164 $11.08 2/9/09 5/6/08
-279
4464641 8090797 $12.03 2/9/09 3/27/08
-319
4464641 8090797 $12.97 2/9/09 8/28/08
-165
So, I want to query off this table to show the MAX of the determiner at each
PO & Item #. Meaning I would want to query to show only, the second & fourth
lines, determiner -279 & -165.
I've tried using the Dmax function, but I don't think its helping me or it's
not what I need. Any help???
Thanks, Jennifer