473,473 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Report by Month

I would like to set up a command button on a timesheet form to preview
the jobs a contractor has worked on for the month. I would like if
possible when the button is clicked for it to ask for the month by
name - not the starting and ending dates of the month. Is this
possible and how can I go about setting it up?
Nov 13 '05 #1
2 1641
Rog

Rupert Street wrote:
I would like to set up a command button on a timesheet form to preview the jobs a contractor has worked on for the month. I would like if
possible when the button is clicked for it to ask for the month by
name - not the starting and ending dates of the month. Is this
possible and how can I go about setting it up?


Rupert:

Use a combo box which lists the month names spelled out: January,
February, etc. Then in an underlying query compare the user's
selection with the dates worked, formatted as "mmmm".

Rog

Nov 13 '05 #2
Will the button fire up a report/form based on a query?
If so it is quite straight forward, you just need to add two columns to
your underlying query using the query builder.
I have called the date field JobDate - wherever you see this substitute
the name of the field in your database.
First column to add:
In 'Field' put:
SetMonth: Format([JobDate], "mmmm")
In 'Criteria' put:
[Enter month name in full]
This will return all of the jobs done in the month you specify - but it
will also return jobs from previous years. So you need to add
something to specify the year, eg another column:
In 'Field' put:
SetMonth: Format([JobDate], "yyyy")
In 'Criteria' put:
[Enter year]

Hope this helps. If this is not the answer you are looknig for, post
more details, as what you are wanting to achieve is possible.

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Miguelito Bain | last post by:
hi- i have a simple table. i have 3 fields, id, indate, and outdate. i want to group these fields in my report by month. for example, for february 2004, i want to display all the ids and dates...
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...
1
by: Wayfarer | last post by:
I've built a report using a aggregate query that is grouped by Month + Year, Program and Name. When I feed the date ranges as query parameters, it will very properly print out a report that shows...
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...
1
by: Andy_Khosravi | last post by:
I'm having trouble building a query to gather the information I need from a table. I need to be able to assemble an inventory report that displays receipts, output, and running inventory from a...
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,...
12
by: kabradley | last post by:
Hello, Thanks for looking at my post and hopefully having an answer or at least a suggestion to my problem. I currently work at a financial planning office that deals with many clients and accounts....
2
by: Bob | last post by:
I've searched this group and have not found any posts since 2001, so I'm hoping that now there may be a better way. I have a need to generate a report that looks like a outlook monthly calendar...
3
by: gmazza via AccessMonster.com | last post by:
Hi there, I am trying to run a report using a parameter for where the user chooses a month from a combo box. Then on the report, I want it to compare the month to a date field and choose only...
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.