473,398 Members | 2,343 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,398 software developers and data experts.

Report only pulling a couple of records.

I have a report "Billing Period" and it runs off of 5 small queries
"InvoiceQuery", "AdminQuery", "ProjManQuery", "InspectionQuery" and
"ExpensesQuery".

The InvoiceQuery has the information such as Client, Invoice #, Job #,
Description, Beg and Ending Dates, Reimbursed Expenses and Total
Invoice Amount.

The AdminQuery, ProjManQuery, InspectionQuery and ExpensesQuery only
gather the sum of the "Billed Amount" for that particular
classification that is entered into the main table.

When I run the queries separate they work perfectly fine. However
when I run a report combining all of this information, it will only
pull up two of the entered invoices. There seems to be no ryhme or
reason to it, they are the first and fourth Invoices entered. They
have different Job #'s, amounts and everything. The only similarities
is the client name, however it does not pull all of the invoices for
that client just the same two invoices.

I would appreciate any help someone may have

Feb 16 '07 #1
4 1834
On Feb 16, 10:02 am, "sohendal...@gmail.com" <sohendal...@gmail.com>
wrote:
I have a report "Billing Period" and it runs off of 5 small queries
"InvoiceQuery", "AdminQuery", "ProjManQuery", "InspectionQuery" and
"ExpensesQuery".

The InvoiceQuery has the information such as Client, Invoice #, Job #,
Description, Beg and Ending Dates, Reimbursed Expenses and Total
Invoice Amount.

The AdminQuery, ProjManQuery, InspectionQuery and ExpensesQuery only
gather the sum of the "Billed Amount" for that particular
classification that is entered into the main table.

When I run the queries separate they work perfectly fine. However
when I run a report combining all of this information, it will only
pull up two of the entered invoices. There seems to be no ryhme or
reason to it, they are the first and fourth Invoices entered. They
have different Job #'s, amounts and everything. The only similarities
is the client name, however it does not pull all of the invoices for
that client just the same two invoices.

I would appreciate any help someone may have

Have you tried to make a single query out of these and base the report
on that?
I have to wonder if the report is making joins or groupings that
you're not expecting.
Making one query and reviewing the results might help you sort it out.

Feb 16 '07 #2
Ok, I tried that and it still didn't work, however I think I figured
out what the error is. I went through and tried to compare all the
invoices to figure out the differences.

I think it has to do with the fact that some of the invoices (records)
don't have data for each of the queries. Some of them there are only
hours for "Inspection" some with only "Project Managment", etc.

Is there a way I can fix it where if there is not data for every query
it will still pull the invoice and the data for the others?

Feb 16 '07 #3
so*********@gmail.com wrote:
I have a report "Billing Period" and it runs off of 5 small queries
"InvoiceQuery", "AdminQuery", "ProjManQuery", "InspectionQuery" and
"ExpensesQuery".

The InvoiceQuery has the information such as Client, Invoice #, Job #,
Description, Beg and Ending Dates, Reimbursed Expenses and Total
Invoice Amount.

The AdminQuery, ProjManQuery, InspectionQuery and ExpensesQuery only
gather the sum of the "Billed Amount" for that particular
classification that is entered into the main table.

When I run the queries separate they work perfectly fine. However
when I run a report combining all of this information, it will only
pull up two of the entered invoices. There seems to be no ryhme or
reason to it, they are the first and fourth Invoices entered. They
have different Job #'s, amounts and everything. The only similarities
is the client name, however it does not pull all of the invoices for
that client just the same two invoices.

I would appreciate any help someone may have
If you create a query in the builder and add 2 tables together you can
link them together. Usually it is a key (main table) to the foreign key
in the many table. You'll see a line between the two tables that
creates the link. If you dbl-Click on the link line it will pull up a
window to modifiy the link. You should set your link to All records in
the main and matching records in the child. That way you'll get the
detail if detail exists but you will always get the parent data.
Feb 16 '07 #4
Thank you both so much. I have been trying with this thing for two
days now!!!

Feb 16 '07 #5

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

Similar topics

3
by: Grim Reaper | last post by:
I know this is probably an easy question, but I could not find/figure it out. Basically, I am printing mailing labels with a "Sorting/Grouping" section that groups the label types together....
8
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At...
1
by: Rinee | last post by:
Hi, I have a database of a bunch of contractors who have signed a safety agreement with us, their contact info, their insurance info, etc. Each was assigned an ID number as the main key. Each...
1
by: Kissi Asiedu | last post by:
Hi, Can someone please help me with the following in a report total? I have fields ZONE; LINE. Filed ZONE holds data Checking, Pulling and Cuts. LINE holds corresponding lines for each ZONE data....
69
by: kabradley | last post by:
Alrighty Guys and Gals, I have another question that I hope you all can help me with. I have a report that uses a cross-tab query as its record source. This cross-tab query is getting all of its...
6
by: Kevin | last post by:
On some records, the calculation is correct but on others it is wrong, why? the calculation is as follows (the source of each part of the calculation is below it): txtActualWage =\ ...
19
by: ali3n8 | last post by:
Hello I have attempted to create a date range report from a query called qrycustomerinformation. The field that contains the value of my date is called Followup. When i run a report on this it is...
6
by: BinaryGirl23 | last post by:
Hi Everyone : ) I hope that this question is actually something easy in disguise. Re: Access 2003 I have a report that displays information about which of our employees worked at a given job over...
3
by: franc sutherland | last post by:
Hello, I have a report which I filter using the me.filter command in the OnOpen event. Me.Filter = "OrderID=" & Forms!variable_form_name! Me.FilterOn = True I want to be able to open that...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.