I
instereo911 via AccessMonster.com
Good morning,
I have a table set up with the following data
Date Unit RouteCode Receipts
01/01/08 AA 1A 123
01/01/08 AA 2B 456
01/01/08 BB 3C 789
01/06/08 ZZ 2E 2
02/16/08 AA 1A 321
02/16/08 AA 2B 654
02/16/08 BB 3C 987
I am trying to use the DMAX function on an append query to give me results
for the most current date. My data usually runs a day behind so i tried using
date()-1 but then i came accross problems for holidays and weekends (if the
data runs on weekends or holidays). SO i just want to run the most current
date.
Ideally - I would love for it to append the query with whatever dates are
missing from that table. So if the table was missing 01/06 and 02/16/08 it
would know to append those fields onto the table. But if that doesn't work, I
would like it to just append the most current date of 02/16/08.
Make sense? probably not.
Thank you again everyone
I have a table set up with the following data
Date Unit RouteCode Receipts
01/01/08 AA 1A 123
01/01/08 AA 2B 456
01/01/08 BB 3C 789
01/06/08 ZZ 2E 2
02/16/08 AA 1A 321
02/16/08 AA 2B 654
02/16/08 BB 3C 987
I am trying to use the DMAX function on an append query to give me results
for the most current date. My data usually runs a day behind so i tried using
date()-1 but then i came accross problems for holidays and weekends (if the
data runs on weekends or holidays). SO i just want to run the most current
date.
Ideally - I would love for it to append the query with whatever dates are
missing from that table. So if the table was missing 01/06 and 02/16/08 it
would know to append those fields onto the table. But if that doesn't work, I
would like it to just append the most current date of 02/16/08.
Make sense? probably not.
Thank you again everyone