If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > Problem creating report

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-11-11, 16:30
Paul76 Paul76 is offline
Registered User
 
Join Date: Apr 2011
Posts: 1
Problem creating report

First off I am a newbie so sorry if I get the terminology wrong here. I am trying to create a query for a report and I can’t figure out how to do it. The data for the report is derived from three tables unithistory, ordertable, and model. There are ten columns in the report. Columns one through three is what I want the rows grouped by which are manufacturer, date, and vehicle model year. The other seven columns are counts of different data using each grouped row. The other columns are orders, cancelled orders, shipped orders, received units, warranty repaired units, c/p repaired units, total units repaired. The problem I am running into is that the count columns (four through ten) use different date fields within two tables to make their counts. There are four different date fields used to parse the count data. I want all counts to be returned in one row per a specific date. As an example say I have 20 orders shipped on 2/22/2011, 3 cancelled orders on 2/22/2011, and 200 units received on 2/22/2011 lets assume all these transaction have the same manufacturer = “Ford” and model year = “2011”, I want counts returned on one row per Ford, 2/22/2011, and 2011. The problem once again is that different date fields are used to derive orders, cancelled orders, and received orders. Could someone point me in the right direction on how to figure this out?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On