Avatar of Sue Taylor
Sue Taylor
Flag for United States of America asked on

Crystal Reports variable help

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.
Crystal Reports

Avatar of undefined
Last Comment
Mike McCracken

8/22/2022 - Mon

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.

Sue Taylor

Id 28588634

how do I link my old question   the i.d. displayed 28588634
Sue Taylor

40524808 was the i.d. for the answer
Your help has saved me hundreds of hours of internet surfing.
Sue Taylor

maybe this is it
Mike McCracken

View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.