Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to get a Report to print fields with blank data

Status
Not open for further replies.

agreen10

IS-IT--Management
Oct 20, 2005
70
US
I have a report using crystal 10 where I am trying to print out schools who have not turned in student grades. I am only getting the schools that have turned in something. I really want the opposite. Can anyone help me?

I am using three tables to get the data example:

grades:
eng
math
for
sci

schools:
School name

students:
names

 
Hi,
What database?
What linking between the tables?
What selection criteria?

In general, you probably need to use Left-Outer Joins..




[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Sorry for leaving that out. I am using a mysql database and the student table is linked via a student id to the grades table and the sites is linked to the student table via a site id field.

Hope that helps. I will try the left outer joins in the mean time.
 
Try a left join FROM the school table to the student table, and FROM the student table to the grades table. Then create a record selection formula of:

isnull({grades.studentid})

-LB
 
Did you place the school field in the details section? Please explain exactly what you did.

-LB
 
I created the joins you gave above and yes, the school field is in the details section but the report returns no records.
 
Thank you very much, I did a seperate report with what you told me and it worked. I had the joins turned incorrectly.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top