Solved

Crystal Reports variable help

Posted on 2015-01-02
5
110 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
  • 3
5 Comments
 
LVL 34

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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
Break apart and rearrange field, Crystal Reports 9 74
Crystal Reports 2008 6 35
Crystal Reports Version 7 4 33
Supress a section of a field 6 19
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. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

840 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