A Microsoft Office (Excel, Word) forum. OfficeFrustration

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   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Help with Query/Report Design



 
 
Thread Tools Display Modes
  #1  
Old July 23rd, 2007, 05:10 PM posted to microsoft.public.access.reports
diaare
external usenet poster
 
Posts: 91
Default Help with Query/Report Design

Could you all please help me with a report/query design.

I currently receive 2 files of data in excel weekly. One has weekly
production data, the other has weekly scheduled forcast data.

Both files contain 3 columns of data. LineID, ModelID, and Qty. In the
Production file the LineID and ModelID are never null. In the Schedule file
the lineID is never null but the ModelID often is (they are planning on
producing so many of a certian type of model, but a the time of forecast they
are unsure exactly what options they might have)

I would like to be able to combine these files to creat a report that looks
like this:

LineID
ModelID QtyScheduled
QtyProduced
(if null) "No Model ID Assigned" some Qty 0

Line Totals Total Qty Scheduled Total Qty Produced


This way at a glance I can see if each of the lines met their schdeduling
forecasts.

I can get a report that looks very similar to this, but all of the schedule
qtys that don't have a model ID get put in a group at the top (because the
grouping is done by ProductionLineID...not scheduledLineID). I would like
them to be grouped by their scheduledLineID if the ProductionID is null (i
think)

I am having trouble figuring out how to query the data to make this happen.
I have considered one report based off a union query, or one report based of
schdueld data with a subreport based on the production data, but I get hung
up on both of them...

Could one of you smart people get me headed in the right direction?
 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.