Report and Quires

phimz196

New Member
Joined
Oct 6, 2004
Messages
42
I have three quires that are unrealted but i want to add all of the information in them to one report. Can i do this? How?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I have three quires that are unrealted but i want to add all of the information in them to one report

Why?

Are they really totally unrelated? No common fields at all?
 
Upvote 0
Well rather than using queries in your report take a look at the DCOUNT function.
 
Upvote 0
What I mean is to have an unbound report ie not based on a query.

Then have textboxes that display the values returned by DCOUNT(s).
 
Upvote 0
This is my SQL. How do i wright this in DCount?



SELECT Count(*) AS ABMWendy
FROM Expediting
WHERE (((Expediting.CompanyName)="ABM Commerical") AND ((Expediting.Requested)="OEM Print:B - Wendy Wright") AND ((Expediting.DateSubmitted) Between [Forms]![Expediting Report Range]![Text6] And [forms]![Expediting Report Range]![Text10]));
 
Upvote 0
Try something like this:

DCOUNT("*", "Expediting", "(((Expediting.CompanyName)="ABM Commerical") AND ((Expediting.Requested)="OEM Print:B - Wendy Wright") AND ((Expediting.DateSubmitted) Between [Forms]![Expediting Report Range]![Text6] And [forms]![Expediting Report Range]![Text10]))")

I think you'll have to have this form open - Expediting Report Range.

Are the other queries the same? What table/query are they based on?
 
Upvote 0
The other queies are the same. I know that i will need to have Expediting Report Range form Open. It is based on the Expediting table.
 
Upvote 0

Forum statistics

Threads
1,221,819
Messages
6,162,155
Members
451,749
Latest member
zack_ken

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top