Solved

Crystal Reports variable help

Posted on 2015-01-02
5
115 Views
Last Modified: 2015-01-09
mlmmc was helping me on an earlier post.....

I need more help, please.  I guess I don't 'got it'.  

 I'm having issues with suppressing the blanks.  It's showing spaces for blanks and I haven't figured out how to suppress them.

 Also, There could be up to (4) individual inspections.  Therefore, there could be up to (4) results for each inspection name (attribute).  I want to group them and sort them.  {view_PT_InspectionItem_Measurement.ID} will have a numeric value.  It will be a sequential number and it just keeps going on and on in the database.  So on this inspection report, the number may start with 18413 and for each of the 22 attributes it will go up by one.  Then there will be another 22 if there is a second part inspected like there is in this case, etc.  Basically, I believe if I sort everything by the ID, I will be ok.
Mechanical-Sue.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
5 Comments
 
LVL 35

Expert Comment

by:James0628
ID: 40528986
If the blanks that you mentioned are the blank GF1 sections, just go to the Section Expert, select GF1 and check the "Suppress Blank Section" option.

 As for the rest, if there's some other problem, can you post some more details about what, exactly, is wrong with the report that you posted?

 FWIW, you have a formula (@Main) in the detail section that is setting some variables based on the value in the Name field.  You don't seem to be using those variables in that report, so maybe this doesn't matter, but I noticed that it only saves a single value in each variable.  The formula is in the detail section, so if there is more than one record with the same Name (eg. more than one "Inspector" record), the variable will be set with each record, but it will just end up with the value from the last record with that Name.  If there's only one record with each Name, or you only want to see the last value, then that's not an issue.

 Oh, and it might help if you could post a link to the earlier question that you mentioned.  That might provide some helpful background.

 James
0
 
LVL 4

Author Comment

by:ITworks
ID: 40530740
Id 28588634

how do I link my old question   the i.d. displayed 28588634
0
 
LVL 4

Author Comment

by:ITworks
ID: 40530743
40524808 was the i.d. for the answer
0
 
LVL 4

Author Comment

by:ITworks
ID: 40530748
http://rdsrc.us/2im5X9
maybe this is it
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 40531526
I think that is the question

I think this does what you want.

I set the GF to suppress when blank.

I also modified the main formula to include the yield test and the display yield to only display for the yield group

mlmcc
Mechanical-Sue.rpt
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 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