Hello ~
I have created a report based on a crosstab query for student attendance.
Row = Name
Columns = DR, Ed, FE, ILL, RH, TEX, TRP, TUN, UNV, UNX (absent reasons.
Each column show the number of dates (count) that child has been absent for
that particular reason)
Total = counts the total number of absent dates.
This works almost great if I'm printing the reports for the entire school
because there is at least 1 absence in every column. It will not print a
report for a student if he/she hasn't been absent.
I need to be able to filter the report by either class or student name.
I've created a parameter query then based the crosstab on that but when
running the report not all of the students in the class have a report if
someone in the class hasn't been absent for one or more of the excuses
listed.
How can I include a report for a student if they have never been absent?
The report would only list the columns with no numbers.
And, how can I filter the report by class or last name?
Thank you for the help!
|
|
0
|
|
|
|
Reply
|
Utf
|
3/11/2010 2:12:01 AM |
|
First, you might want to set the Column Headings property to all possible
absent reasons.
Column Headings: "DR","Ed","FE","ELL",.....
Then join your crosstab to a table or query with all students. Use a LEFT or
RIGHT JOIN to include all the students from the one table/query.
--
Duane Hookom
MS Access MVP
"Peggy Ball" <PeggyBall@discussions.microsoft.com> wrote in message
news:71450D30-F34F-4780-B469-20F351D3505B@microsoft.com...
> Hello ~
> I have created a report based on a crosstab query for student attendance.
>
> Row = Name
> Columns = DR, Ed, FE, ILL, RH, TEX, TRP, TUN, UNV, UNX (absent reasons.
> Each column show the number of dates (count) that child has been absent
> for
> that particular reason)
> Total = counts the total number of absent dates.
>
> This works almost great if I'm printing the reports for the entire school
> because there is at least 1 absence in every column. It will not print a
> report for a student if he/she hasn't been absent.
>
> I need to be able to filter the report by either class or student name.
> I've created a parameter query then based the crosstab on that but when
> running the report not all of the students in the class have a report if
> someone in the class hasn't been absent for one or more of the excuses
> listed.
>
> How can I include a report for a student if they have never been absent?
> The report would only list the columns with no numbers.
>
> And, how can I filter the report by class or last name?
>
> Thank you for the help!
|
|
0
|
|
|
|
Reply
|
Duane
|
3/11/2010 4:05:14 AM
|
|
Peggy,
For future reference, it helps if you post the SQL of the query (or queries)
involved. Sometimes we can modify the specific query for you and almost
always we can better understand the problem.
(Possibly unneeded instructions follow)
Open the query
Select View:Sql from the Menu
Select all the text
Copy it
Paste it into the message
John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County
Duane Hookom wrote:
> First, you might want to set the Column Headings property to all
> possible absent reasons.
> Column Headings: "DR","Ed","FE","ELL",.....
>
> Then join your crosstab to a table or query with all students. Use a
> LEFT or RIGHT JOIN to include all the students from the one table/query.
>
|
|
0
|
|
|
|
Reply
|
John
|
3/11/2010 1:30:32 PM
|
|
|
2 Replies
861 Views
(page loaded in 0.052 seconds)
Similiar Articles: Crosstab query to include fields with Null value - microsoft ...Hello ~ I have created a report based on a crosstab query for student attendance. Row = Name Columns = DR, Ed, FE, ILL, RH, TEX, TRP, TUN, UNV, U... Crosstab queries, <> and null values - microsoft.public ...Crosstab query to include fields with Null value - microsoft ..... not mean Null if the field is a text field. ... Crosstab query to include fields with Null value ... CrossTab Query - how to include average column and table setup ...Crosstab query to include fields with Null value - microsoft ... Show zeros for null in crosstab query - microsoft.public.access ..... is null I lose the > zero value ... Crosstab Query and Zero Values - microsoft.public.access.queries ...Crosstab query to include fields with Null value - microsoft ... How to convert Null values to zero when create an average query ... Crosstab query to include fields with ... How to convert Null values to zero when create an average query ...How to convert Null values to zero when create an average query ... Crosstab query to include fields with Null value - microsoft ..... query ... null values in crosstab ... Show zeros for null in crosstab query - microsoft.public.access ...Crosstab query to include fields with Null value - microsoft ..... is null I lose the > zero value stuff ... to include average column and table setup ... Converting a null value to a predetermined text value - microsoft ...Converting a null value to a predetermined text value - microsoft ... Crosstab query to include fields with Null value - microsoft ... How to convert Null values to zero ... Crosstab query and Lookup field problem - microsoft.public.access ...Crosstab query to include fields with Null value - microsoft ... always we can better understand the problem. (Possibly unneeded ... Using MS Access: To convert Null to ... Multiple values in a crosstab - microsoft.public.access.queries ...CrossTab Query - how to include average column and table setup ... How to create a crosstab query with multiple value fields In a Microsoft Access crosstab query, you can ... Using parameter in query to specify null/not null records ...Crosstab query to include fields with Null value - microsoft ... Using parameter in query to specify null/not null records ... Crosstab query to include fields with Null ... Crosstab query to include fields with Null value - microsoft ...Hello ~ I have created a report based on a crosstab query for student attendance. Row = Name Columns = DR, Ed, FE, ILL, RH, TEX, TRP, TUN, UNV, U... Crosstab Query with null values: crosstab, count, queryKeywords: Crosstab, Query, with, null, values. crosstab "empty fields to zero" ... Also, you need criteria to include or excludes Meeting_Date with value of 11 ... Using MS Access: To convert Null to Zero in a query, crosstab ...crosstab query, blank fields, null values: I see ... to do is create a query that contains the values you want, then build a crosstab on that. The way to do that is include ... Make summary data easier to read by using a crosstab query ...... one table or query as a record source, include the table or query name as part of each field ... use to calculate summary values in your crosstab query contains null values ... Include Null values in calculated queries in Access | TechRepublicIn Access, when an expression in a calculated field attempts to perform an arithmetic operation on a field that has no value, the result will be a null value. 7/19/2012 3:33:18 PM
|