Solved

Crystal Reports variable help

Posted on 2015-01-02
5
97 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

910 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now