473,405 Members | 2,421 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Losing it with Report/Sub Report from Union Query

I am at wits end with this. I have a transaction report that has a
union query as a record source that asks date parameters from an input
form. The sub report is based on a variation of the same union but
only has the "startdate" portion and it sums all records prior to
whatever date I enter. Both reports have the same grouping/Sorting
(MatNumber)
I have a text box in the "MatNumber" header that picks up the
information from the sub report (sum of QtyReceived - Sum of ShipQty).
All this works. I have another text box in the detail section of the
main report (QtyReceived - ShipQty and is set to running sum) This
works too, by itself, but not when I try to add the sub report field
to the main report field. If I leave the field set to running sum it
takes the sub report field and adds to the main report field and then
does the running sum. If I don't have it set to running sum is takes
each detail line individually and add the sub report amount.

Any help would be greatly appreciated. Sorry if this doesn't make
complete sense. I have looked at it so long I often confuse myself.

Len Coleson
Nov 12 '05 #1
0 1347

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

Similar topics

4
by: sherkozmo | last post by:
SQL2000 - AccessXP I built an adp file with a stored procedure from SQL as follows: SELECT * FROM Z_mis_sjk_job_code_access WHERE job_code=@JobCode UNION ALL SELECT * FROM...
3
by: Gord | last post by:
I would like to create a summary report from the results of 11 queries (based on 2 tables). All the queries have the same format and return 3 numbers (Count, Current Year Bal, Last Year Bal.)...
4
by: stephena | last post by:
Hello all, hope someone can help. I recently built a report showing the distribution of money in and out of the company. Simplified version of which looks like: DECEMBER 2004 TELEPHONE...
3
by: Abhi | last post by:
Hi! I am wondering if this query is possible somehow: I have a table with many fields that all can have a value from 1 to 5. if I wanna see the count of each value from one field, then this...
7
by: serge | last post by:
How can I run a single SP by asking multiple sales question either by using the logical operator AND for all the questions; or using the logical operator OR for all the questions. So it's always...
7
Fotorat
by: Fotorat | last post by:
I have this transform: TRANSFORM Nz(Sum(IIf(="L",,)),0) AS SumOfTOTAL SELECT UNION.JOB FROM WHERE (((UNION.JOB) Not Like "**Other - Non RetailPosition**" And (UNION.JOB) Not Like "Dec*"))...
3
by: iht | last post by:
Say I have a database with types of car driven by people living in different cities. I made several queries to separate out the database according to city, then made queries to count out numbers...
2
by: Don Barton | last post by:
I have 2 tables, Table 1 has Name, NameID, and A, B, C fields. Table 2 has Name, NameID, and D, E fields. Several of the Names/NameID are the same in both databases. I want my merged the tables...
6
by: Steve | last post by:
I have a 2 unmatched queries Table1_view (records in table1 not in table2) Table2_view (records in table2 not in table1) Both table contain fields ReportID ReportName ReportOwner In_Table1...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.