Calculating in Access Reports with Multiple Criteria

chegra26

Board Regular
Joined
Jun 7, 2014
Messages
90
I have a database made up of the following fields and queried out with the following.
The query works fine but I am having problems getting things to calculate properly in my report
StudentID
BldgNo -
MealStatus = Free or Reduced
Ethnicity = African American
Has IEP = Y

I need my report to look as follows

Bldg # SPED African American Meal Status
001 Count of Has IEP for Building 001 Count of African American for Building 001 Count of Free or Reduced for building 001
002
003
004
005
I have the following DCount calculation for Has IEP (SPED) =DCount("[IEP]","Copy of Discipline","[BldgNo]=0104") and this works fine but I am having an issue getting to work for the African American Count and the Meal Status Count.

Any suggestions?/

Thank you
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Always post what you tried. Gives clues as to what the data types are & things like that, otherwise, just guessing.
My guess is that the other types are text values and you haven't constructed the criteria part correctly. If the fields are text, you have to use concatenation.
 
Upvote 0
Access is built to show data down vertical columns. Querys/reports can be made with a single click of a button.
It is not designed to show data horizontally.
This would take lots of time and programming to re-invent the wheel, when you can just show data vertically with zero effort.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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