R
rwr
Does anyone have information on where I can find or how to do a YTD
query or report?
Thanks,
Ron
query or report?
Thanks,
Ron
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Does anyone have information on where I can find or how to do a YTD
query or report?
trouble! said:= DateSerial(Year(Date()), 1, 1) AND < Date() + 1
Assuming that you have adatefield in the table (if you don't you're in real
Here's a rewrite, using temporal functionality (and easier to port to
other SQL products):
BETWEEN DATEADD('YYYY', DATEDIFF('YYYY', #1990-01-01 00:00:00#,
NOW()), #1990-01-01 00:00:00#)
AND DATEADD('D', DATEDIFF('D', #1990-01-01 00:00:00#, NOW()),
#1990-01-01 23:59:59#)
Jamie.
rwr said:Does anyone have information on where I can find or how to do a YTD
query or report?
Thanks,
Ron
Are DateAdd and DateDiff any more portable than DateSerial? (not criticising,
just asking)
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.