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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Eliminate blank lines in report 1

Status
Not open for further replies.

TonyG57

Technical User
Aug 29, 2002
21
GB
Each record in my database can contain name details of up to 4 individuals. A report listing Surname, Forename and Title of all the people in the database has blank lines when only the the first one, two or three sets of personal details have been used in a record.
Is there a way to produce such a report eliminating the blank lines perhaps using such functions as 'if' or 'isblank to pass over the unwanted fields without attempting to print them?
 
No, your database design prevents this. You can't set a field on a report to print for some records and not for others.

In "database speak" your data isn't normalised correctly. The 1 to 4 names should be separate records in a joined table. Then you can base a report on this table, grouped by the join field and it will only display the names records related to each main record.

Paul Bent
Northwind IT Systems
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top