I actually did try that and it had no effect. The results still show up the same way.
Main Topics
Browse All TopicsI am using Crystal Reports XI and have Table A linked to Table B using a left outer join. Table A contains the name of an asset record and Table B contains the names of people assigned to that asset record. For example:
Asset Record Contact
=========== =======
CI-0000000001 John Smith
Mary Jane
It may be that there is no contact in Table B or one or many contacts in Table B. For some reason, my report output is showing up like this:
Asset Record Contact
=========== =======
CI-0000000001
CI-0000000001 John Smith
CI-0000000001 Mary Jane
I would like to remove the blank field - I don't know why that is show up.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Ok, I think I may need to go into a little more detail. Here are the three tables I'm working with:
net_res = Asset table
ctct = Contact table
lrel = relationship table
From net_res, I need the nr_prim_search_key field which is the asset name. There is also a field called nr_prim_c_id which links to the contact table id field. There can only be one primary contact per asset so I made that an Inner join. The problem is that when a primary contact is chosen, a record is also placed in the lrel table. I think this may be part of the problem. So, in order to get the asset name and primary contact, I link net_res.nr_prim_c_id -> ctct.id. I put net_res.nr_prim_search_key
NAME PRIMARY CONTACT
===== =================
CI -0000000001 John Smith
CI-00000000002 Mary Jane
That is working fine because there is only one primary contact per record so I have no blank lines.
Now onto adding the Alternate Contact(s). There can be none, one, or many. The alternate contact records are stored in the lrel table so I link net_res.persid -> lrel.r_persid and lrel.l_persid -> ctct_1.persid. I make them all inner joins. After I make these joins and before adding any fields, I refresh the data. I now have two rows for each asset and the primary contacts are listed twice. I am assuming this is because a record is created in the lrel table for the primary contact.
NAME PRIMARY CONTACT
===== =================
CI -0000000001 John Smith
CI -0000000001 John Smith
CI-00000000002 Mary Jane
CI-00000000002 Mary Jane
I suppose this is the first problem I need to correct. If I add the Alternate Contact, I see output like this:
NAME PRIMARY CONTACT ALTERNATE CONTACT(S)
===== ================= =====================
CI -0000000001 John Smith
CI -0000000001 John Smith Tyler Grant
CI-00000000002 Mary Jane
CI-00000000002 Mary Jane Ty Dickens
Business Accounts
Answer for Membership
by: zephyr_hexPosted on 2008-03-12 at 08:50:50ID: 21107293
it's showing up because you're using a left outer join...
ue
have you tried putting a suppression formula in the section editor for that section? the formula would be something like:
isNull({Contact_Field})=tr