[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Monthly report

Posted on 2004-08-03
3
Medium Priority
?
219 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
ID: 11702897
what database (if one)?
0
 

Author Comment

by:joshfly
ID: 11703457
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 200 total points
ID: 11712853
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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

872 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