Solved

Crystal Reports with Datasets - Modify Report

Posted on 2016-08-12
5
112 Views
Last Modified: 2016-08-15
There is a report that I'd like to modify that is part of some software that we use to report Non-Conformances (NC's) called uniPoint.  It is a Crystal Report.  I would need to add 2 tables to the report to pull the information I am looking for.  I have a basic understanding of CR but this one uses datasets and I am at a total loss of where to start.  What I need sounds relatively simple but I'm not sure where to go for help.
The report will have an NC Type that was the result of either 'Vendor', 'Customer' or 'In Process'.  The program has a form that will list either the Customer or Vendor ID.  Since this is a number it is meaningless to the users and they'd like to see the Customer or Vendor NAME.  Since the NAME is not in the existing table I will need to add them.
At one time, I had been able to link a Customer and Vendor (Supplier) table to the report and get it to run.  It worked fine when the NC Type of Vendor, but if it was Customer, then many of the fields were blank.
There are other issues I'm trying to figure out as well.  In order to get everything to fit on this form, neatly, I was going to put in a condition that if the NC Type equaled "Vendor" to suppress the Customer and visa-versa, that way I could squeeze those two fields together to make room for the NAME.  That would normally be an easy task for me but when I look at the form in Crystal it shows asterisks inside the TEXTBOX.  
Can anyone point me in the right direction?  Or do I need to start with a brand new report?
--sql-unipoint-Client-Reporting-U.vbproj
--sql-unipoint-Client-Reporting-User.rpt
0
Comment
Question by:ITworks
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 41754445
Looking at the report I would try to use it since it would be very complex to restart.

I assume you want to show the same information for customers and vendors or are they different?

You could use formulas like

If {NC Type } = 'Vendor' then
    {VendorNameField}
Else
   {CustomerNameField}

Open in new window


IN that way you don't have to suppress anything.

You could do the same for labels if you want to say Customer rather than Vendor

mlmcc
0
 
LVL 4

Author Comment

by:ITworks
ID: 41754447
That part I understand.  But the VendorNameField and CustomerNameField do not currently exist in the table.  So I need to add these tables, which I did but now the report will work on NCType Vendor but not on NCType Customer.  When I run a NCType Customer, many of the fields like the NC#, NCR Date, Total Qty, Item, Description, etc., etc. do not display.  I asked uniPoint about this and they said it was because they use datasets.
0
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 41754541
DId you join the tables in as left outer?

mlmcc
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 41754542
If these are third party reports you might ask them to modify the dataset to include the data you want.

mlmcc
0
 
LVL 4

Author Closing Comment

by:ITworks
ID: 41756297
That was all it was.  I didn't link it correctly!   Duh!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question