I want when my PickUpsCRY is greater than 0,this column is fully disappear else it should be shown .
You can't really suppress horizontal space in the same way you can suppress vertical space (via the suppression of report sections, etc.). So, while you could technically suppress that column's fields, header, lines, etc. with the suppression formula max({table.PicksUpsCRY})>0, you won't be able to get rid of the whitespace and it'll appear as though you've just got a hole in your table.
You could move this column to the end so it's not as obvious that there is a column missing, though.
Related
I've put together a summary report in Crystal Reports 2013 that has about 10-12 subreports. Each subreport is a fairly basic query that produces one or several lines rows and columns of data. I'm using SAP's Central Management Console to produce the reports, with the output an Excel output.
My problem is that my excel output is coming out unstandardized i.e. random extra empty rows and columns, data and header mismatches, different widths of rows and columns, etc.
I've been messing around with the formatting setting w/in Crystal Reports (standardizing size and shape of subqueries on the preview screen, supressing empty areas, etc.) but can't come close to getting the Excel output to look the way I want.
Is there a specific export formatting function/area within Crystal Reports that will allow me to design the export in the way I'd like? And if not, are there any ways to format multiple subqueries w/in Crystal Reports so their format in an Excel export is uniform?
If i really understood your issue, you have troubles with the alignment of data, cells and stuff like that in the spreadsheet, is it correct?
If so, the solution is to review the align of your fields in the report. It is very boring. You can use some functionalitis like:
right click a field and use "align to grid"
select two fields, right click and use "left align" and "top align"
change the property "gridsize" of the "report" to a higher value and use the keyboard to position the fields.
Avoid empty spaces between field at most.
Keep your eyes on the rulers.
Furthermore, check the version of Crystal Reports you are using. There is a good improvement about it from version 11 to 13.
Exporting to Excel seems a bit qwerky because the same steps do not necessarily work for all reports (my experience at least). Keep this in mind when reading the following steps. Perform the following steps on both the detail(footer if using grouping) and header rows where applicable:
Choose driver “Microsoft Excel(97-2003)”
Make sure the header and detail sections have no spaces in between the columns
Make sure the header and detail column boxes align perfectly (should see red crosses when alignment is correct).
Select all fields on the row, right-click, align to top (if this does try aligning to grid)
Right-click to the left of the detail columns and “Select All Section Objects”
Right-click in the same location and choose “Arrange Lines” then “Fit Section”
Perform steps 4 & 5 on the header columns as well
Open Section Expert, select “Suppress Blank Section” for all unused sections
If none of the above work, use driver “Microsoft Excel (97-2003) (Data Only) “
Headers will still appear in the report but will not be in bold
I need the gray box in my report to print in the Details section to the right of the actual details:
The defect code box is a subreport that serves as a key to various defects that pop up in the details. How do I get it to appear on the right without increasing the height of the Detail section, and such that the gray box does not repeat.
There's a few ways to do this, but due to the nature of Crystal Reports it might be difficult to pull off.
I'd recommend placing the white table on the left into its own subreport. Then you just arrange the subreports so one is on the right and one is on the left. That's probably the least amount of work.
If that's not an option, you could in theory turn the gray box into a very weird, very specific formula. (Not recommended, but still doable.)
You'd write this formula to contain a large if-else statement based on the record number. (If it's the first record, the report displays "DEFECT CODE". If it's the second record, display "SI - SLAG INCLUSION" and so on and so forth. Change the background color of the formula to gray, and suppress it if the record number goes past the final line.
Again, I don't recommend this last suggestion, but if you absolutely can't put the white table into a subreport you can get this to work with a little elbow grease.
DetailsA Subreport Design View
My report has a CrossTab in a subreport inside a group detail (detailsA). This is followed by a separate subreport with its own crosstab in a subsequent group detail section (detailsB).
When there is more than one row in the detailsA CrossTab, the combination of detailsA and detailsB look like a grid. But when there's only one row in detailsA, a space is created between the two. Depending on the information fed to my subreport, detailsA will be suppressed and only detailsB will appear.
There is no space in between detailsA and detailsB. I've tried adding a test text field directly underneath the crosstab in detailsA but the white space appears between the text field and the the cross tab.
How do I remove this extra space?
This has happened to me before. From my understanding it cannot be deleted, and if we adjust the margin of the sections the blank space still appear.
To solve this, I added another report footer and wrote "this space is left blank". This works, but isn't really effective.
I am using the below crystal report to display my record and also to group using the column batch . The Main report works fine , however, when i group by a particular batch, The report print the group footer and proceed down with another empty long row to the end of the page. I tried to fix this but i dont seem to get it going yet. I set the report and page footer to supress blanc spaces yet nothing change.
Also when printing the report, it print an empty grand total row on each page. This also i am not sure why it does that. PLs any suggestion would be appreciated.
Just like suggested by siva .It turned out, i use a single line to divide the columns of the report. That say, both the report footer and the group footer rows will while grouping ,because the same vertical line transverse through . When i minimize the lines and restrict each to it section , the error goes away.
I have a multi-column Crystal 2008 report that is grouped on a date field, and I want to prevent that group from being split across the column to column boundary.
Googling it, it seems impossible - no one even has some sort of hack for faking it.
Here is an image of the issue - I would like Friday the 26th to all be in the second column.
Nothing is impossible!
While initially discouraged with the voted answer, I kept searching and found something about using a subreport for the "details". Then I used a mailing label, although this may not be necessary, but in my use I wanted each group to have identical size, this worked perfect to make sure the groups stayed together in the columns. It is a little clumsy but seems the subreport won't cross columns.
Anyway this is an old topic, but thought I would leave this here just in case someone dusts it off.
Looks like this is impossible for now.
Right click the group, select 'Change Group...', select the Options tab, check the 'Keep group together' option.
If you can determine beforehand that you want the group to print on the next column, have a blank detail line extra at the bottom of the detail lines and check the print at bottom of page and suppress it with a formula that is controlled by either a crystal variable or a database field. This is the only way I have found to cause a group to stay together. You find the print at bottom of page in the section expert, add the blank line as the last of your detail lines.