Solved

Monthly report

Posted on 2004-08-03
3
206 Views
Last Modified: 2010-04-05
hello,
can any expert here tell me how to print a monthly report?
i got a salesmaster table contains SalesNo, SalesAmt and SalesDate

i want to print a report by month...which the report layout will have january, february, march.....december.

how can i print the month from the SalesDate acoording to month? example salesdate : 01/12/2004 (dd/mm/yyyy)

Thanks
0
Comment
Question by:joshfly
3 Comments
 
LVL 27

Expert Comment

by:kretzschmar
Comment Utility
what database (if one)?
0
 

Author Comment

by:joshfly
Comment Utility
hello,...im using MSSQL database. The report im using the delphi reportbuilder to do it...

any comment?

0
 
LVL 2

Accepted Solution

by:
DarkCore_ earned 50 total points
Comment Utility
If you use Report builder then you can use something like that

In your SQL Statment add a field like this " SELECT ...., MONTH( date ) As my_month FROM ...... ORDER BY MONTH( date )"

Once ordered by month, in ReportBuilder you can create a Group using this field

Edu
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now