473,769 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Report only pulling a couple of records.

I have a report "Billing Period" and it runs off of 5 small queries
"InvoiceQue ry", "AdminQuery ", "ProjManQue ry", "InspectionQuer y" 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 1853
On Feb 16, 10:02 am, "sohendal...@gm ail.com" <sohendal...@gm ail.com>
wrote:
I have a report "Billing Period" and it runs off of 5 small queries
"InvoiceQue ry", "AdminQuery ", "ProjManQue ry", "InspectionQuer y" 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*********@gma il.com wrote:
I have a report "Billing Period" and it runs off of 5 small queries
"InvoiceQue ry", "AdminQuery ", "ProjManQue ry", "InspectionQuer y" 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
2335
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. Also, I am using a "Report Header" to show a count of how many total labels that are being printed. Now, my problem is that without the "Report Header", the spacing is perfect. But, when I add the Report Header, it gets shifted downwards and the...
8
3538
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 the moment the printed output is usually going to Word. It's turning into an unholy mess, because I'm having to prepare umpteen different Word templates, and the queries that drive them, depending on what events a course has.
1
2264
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 contractor agreement has an expiry date. I have a report that lists the contractors and a couple other relevant fields for reference for our company employees. But I don't want a contractor to appear on this report (which looks like a list of...
1
322
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. I want to have the total of LINE for Pulling and Cut but not Checking in the report footer. Example: ZONE LINE Checking 20 Pulling 10 Cuts 5
69
8083
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 information from another query. That query, qryRpt, is pulling information from several different tables. One of these table is tblDistributions, a table that holds monthly distributions for a particular investment, and the second is tblDeduction, a...
6
1644
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 =\ txtLaborRevenue =rptLaborSubReport!TotalLaborCost TotalLaborCost =Sum((DateDiff("n",,)/60)*)
19
3929
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 fine. But I have decided I would like to pull this report for a specific date range. Ive attempted to use the method on allen brownes page http://allenbrowne.com/casu-08.html. I would like to also mention the followup field also uses this code to...
6
3513
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 a period of 2 weeks, and displays how much we paid them for their work at that job (using DSUM to calc all those records within that 2 week period). This works just fine. The problem is that sometimes our guys work at these little side jobs. For...
3
2679
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 report, filtered, from different forms. How do I carry the name of the current form into the
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
7410
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3962
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.