473,320 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Not able to Report by Month Need Help please

I am creating a report that will show us the number of tickets completed and the total time spent completing these tickets. I am able to get it to show me the data for like the last week.
WHERE (((q_pctech_workflow_time.Closed_Date) Between (DateValue(Now()-DatePart("w",Now())-7)) And (DateValue(Now()-DatePart("w",Now())))))

But I would like to be able to report by month for the last year. Like here are the totals for June 2006 ect. But I can't get it or I don't understand how to make it just show me tickets for one month.

Can anyone help me to figure out how I can make it so when I run the report it will prompt me for a month and year and then just show me the data for that month and year.

Thank You

Travis Jubeck
Mar 27 '07 #1
3 1162
MMcCarthy
14,534 Expert Mod 8TB
I am creating a report that will show us the number of tickets completed and the total time spent completing these tickets. I am able to get it to show me the data for like the last week.
WHERE (((q_pctech_workflow_time.Closed_Date) Between (DateValue(Now()-DatePart("w",Now())-7)) And (DateValue(Now()-DatePart("w",Now())))))

But I would like to be able to report by month for the last year. Like here are the totals for June 2006 ect. But I can't get it or I don't understand how to make it just show me tickets for one month.

Can anyone help me to figure out how I can make it so when I run the report it will prompt me for a month and year and then just show me the data for that month and year.

Thank You

Travis Jubeck
Hi Travis

Try this ...

Expand|Select|Wrap|Line Numbers
  1. WHERE Month(q_pctech_workflow_time.Closed_Date) = [Enter Month Num:] AND Year(q_pctech_workflow_time.Closed_Date) = [Enter Year:]
Mary
Mar 30 '07 #2
Hi Travis

Try this ...

Expand|Select|Wrap|Line Numbers
  1. WHERE Month(q_pctech_workflow_time.Closed_Date) = [Enter Month Num:] AND Year(q_pctech_workflow_time.Closed_Date) = [Enter Year:]
Mary

Mary,

Thank you worked perfectly.

Travis
Apr 2 '07 #3
MMcCarthy
14,534 Expert Mod 8TB
Mary,

Thank you worked perfectly.

Travis
You're welcome.
Apr 2 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Rajani | last post by:
Hello, I have a table(msaccess) with the structure... job_code text 6 style text 10 qty number fabrication text 65 ship_date date/time
0
by: M | last post by:
Hi all, I am having problems figuring out the best way to query my database in order to create a report. Perhaps someone can help me? Background -- Consider a table with the following...
1
by: Pea | last post by:
Hello, I have an Access report that works well. I need to add a prompt for the user to input the month of data that the report will show. I used an InputBox and instead of showing that month in...
0
by: Rahul Chatterjee | last post by:
Hello All I have designed a dotnet application using VB which basically takes a selection and passes value to a crystal report which in turn passes the value to a Stored procedure. After the...
12
by: Orchid | last post by:
Hello all, I have different version of reports which used for different months. For example, I am using report version 1 up to September, but we have some design changes on the report for October,...
3
by: Sebastian | last post by:
Hello all I have a report where I have two nested groups. I know there are only three standard options for running sum: None, Over Group and Over All. I have a MyTextBox in detail section where...
5
by: hwt | last post by:
Hi Please excuse my poor description of the task. I have to make a report for my database. I need to have a report for each month. I need to make it so that each report contains every weekday...
6
by: DavidOwens | last post by:
Sub PreviewReport_Click() On Error GoTo Err_PreviewReport_Click Dim stRepName As String: Rem Holds the Report name Dim stDispId As String: Rem Holds the Dispenser ID Dim...
1
by: Rosy | last post by:
I have created a commission report based on monthly activity. However, I would like for the report to also show when a surveyor has laid an egg for the month. However, when I do the join to the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.