473,626 Members | 3,974 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

report grouping by week, month, year ..

Bob
I wish to group data on a report by week, month and year. Crystal reports
has this ability as a built in function. Is there a quick way to do this in
Access97/2000 VBA reports ?

Thank you in advance, Bob.
Nov 13 '05 #1
3 5862
On Tue, 16 Aug 2005 20:25:58 +1000, "Bob" <di**@attglobal .net> wrote:

Sure. Study the "Summary of Sales by Quarter" report in the Northwind
sample application. You'll find that you can create a grouping level
and group not only by a field, but by an expression such as:
=DatePart("q",[ShippedDate])

-Tom.

I wish to group data on a report by week, month and year. Crystal reports
has this ability as a built in function. Is there a quick way to do this in
Access97/2000 VBA reports ?

Thank you in advance, Bob.


Nov 13 '05 #2
Mal
Right click in the Report Design view and select "Sorting and Grouping"
if you then select a date field....
there will be grouping options below..."Week, month, year etc."

Mal.
"Bob" <di**@attglobal .net> wrote in message
news:43******** @news1.prserv.n et...
I wish to group data on a report by week, month and year. Crystal reports
has this ability as a built in function. Is there a quick way to do this
in
Access97/2000 VBA reports ?

Thank you in advance, Bob.

Nov 13 '05 #3
Bob
Tom & Mal

Thanks for your help, Bob.
Nov 13 '05 #4

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

Similar topics

2
5209
by: androtech | last post by:
Hello, I'm looking for a function that returns a date range for a specified week number of the year. I'm not able to find functions like this anywhere. Any pointers/help would be much appreciated. TIA
3
1700
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 for those records with indates during the month of february. i'm trying to get my report to look kind of like this... MONTH CASEID INDATE OUTDATE
1
1369
by: Jerry | last post by:
Hi, new to access asking what is probably easy question, using access 2003. I have 1 table, one query and 1 report. On the report it shows weekly monthly and yearly p&l figures from various years. I would like to be able to find our best and worst week, month year and show the difference on a report. EG: 2003 week 23 net 20000 profit 1000 2004 week 23 net 15000 profit 3000 total net <-5000> profit 2000 Any help is appreciated
6
25357
by: aarklon | last post by:
Hi folks, I found an algorithm for calculating the day of the week here:- http://www.faqs.org/faqs/calendars/faq/part1/index.html in the section titled 2.5 what day of the week was 2 august 1953 I checked the algorithm it is very correct.
12
3105
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. Each client may have multiple accounts such as an individual, IRA, and possibly a joint tenant account. Each one of these accounts for the particular client is contained in a 'Portfolio'. For example, Joe Smith may have 3 accounts: Joe Smith...
5
3223
by: bruce24444 | last post by:
I have a database which assigns warranty claims to people with a main screen showing number of files assigned to each person. The number assigned shows day, week, month and year numbers so they can be evenly distributed. The problem I'm having is getting the query to return a number of files for the current date. Week, month and year appear to work fine. Below are the SQL's for both day and week. Any suggestions as to what's wrong...
3
1784
by: Matt | last post by:
Hi All, I have the following situation: I admin a metrics database that includes an attendance piece that collects hours worked. From this data I show overtime as any amount of hours over 40 for a particular week. To do this I have created a table with 4 fields ... Date, week, month, year. This way I can join on the Date field and then group on year, week and month. The problem is I must enter data a few times a year
3
2556
by: HowHow | last post by:
I need to sort the "DateOfBirth" by the day (dd) regarless of month (mm)and year (yyyy). I have a query called q_DC_Client, in criteria, I am using this code below: Like "*" & "/" & !! & "/" & "*" I have a form called F_DC_Birthday with combo box called ComboBdayMonth. The combo takes information from T_Month table, where I only have two field, first field is the name of Month (eg, January, February...etc) and second field is 01 to 12. The...
9
2169
by: magickarle | last post by:
Hi, I have a database in access with the following columns: Day AgentID ManagerID Grade They got information about agents and some grades. I would like to have ONE form with several grouping (yearly quarterly and weekly) with the respective average.
0
8705
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8638
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8365
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8505
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5574
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4092
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2626
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 we have to send another system
1
1811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.