ANSWER1
Right click over section. You can see an option Suppress (No drill down). Check that option. Hope this will solve your problem
ANSWER2
if you don't want to suppress the detail section entirely, then you'll need to use conditional suppression:
right click on the detail section left margin,
then to the right of "Suppress (No Drilldown)" left click on the "X+2" box,
a formula window will appear,
then enter the condition that should suppress the row - like "IsNull({Necessary.DetailField}) or ({Necessary.DetailField}=" ")"
ANSWER3
basically when it comes to subreports and suppression the general rule of thumb is:
1. in the header have the subreport. this subreport should set the shared variable = number of rows. all elements (fields, sections) should be suppressed in this subreport. set the subreport to "suppress blank subreport". set the header section to "suppress blank section".
2. in any section AFTER the header - so let's say the footer. put a COPY of the subreport. this subreport will display data if there is data. in the footer section set the "suppress" formula to suppress the footer section if the shared variable from the first subreport returns 0 number of rows.
ANSWER4
You still didn't provide the field name for the detial field that starts "SSR", so I'll call it {table.ssr}. Create a formula {@ssr} like this:
whileprintingrecords;
stringvar array ssr;
numbervar i;
numbervar j := ubound(ssr);
if not({table.ssr} in ssr) then (
i := i + 1;
redim preserve ssr[j+1];
if i <>
ssr[i] := {table.ssr}
);
Then go to the section expert->details->suppress->x+2 and enter:
{@ssr} = ""
ANSWER5
I set up a formula field "issueid", with this formula:
whileprintingrecords;
stringvar array issueid;
numbervar i;
numbervar j := ubound(issueid);
if not ({VSTATEHISTORY.ISSUEID} in issueid) then (
i := i + 1;
redim preserve issueid[j+1];
if i <>
issueid[i] := {VSTATEHISTORY.ISSUEID}
);
I then replaced the database view field {vstatehistory.issueid} that was originally in the Detail section with {@issueid}.
<<<>>>
Then I entered {@ssr} = "" as the formula for Suppress for the Detail section.
The end result was no detail section showing, but I also tried unchecking Suppress, and the result was the same.
ANSWER6
If this isn't possible, then use Section Suppression, using a formula. Right-click on the section and choose Format Section. Then choose the formula icon (x+2 and a pencil) for suppression.
ANSWER7
I don't have a right click option for the 'format section', but I assume you mean go into the section editor and put the expression in the x2 section there. Because I always wanted them suppressed (even though there are no contents in the section) I added a:
{table,field}={table,field}
which seemed to work
But please correct me, in the section editor for the suppress(drill down OK) if I check the box it means always supress(even if there are contents), if I click the x2 box and enter an expression, then it conditionally supressed the area based on the expression?
If this is correct is there something I did wrong in crystal by checking the box?? Some type of hidden field. BTW it's mostly footers that I have the problem with.
With this item checked it still left an area for my subreport even when the subreport is empty-no contents because it is supressed in the subreport itself.
Hopefully, if what I have done is OK, then great.
But if you wouldn't mind answering the question on supression check box and X2, I'd appreciate it as I have seen some with both the check bax checked and contents in the x2 field. I always thought why conditionally supress an item with x2 thats already suppressed with the checkbox??
Thanks again for your help!
Followers
Categories
- Abstract class (1)
- Abstract class vs Interface (1)
- Abstract Properties (3)
- Accessing Data Using Object Data Source (ASP.net 2.0) in C# (1)
- ACID properties (1)
- ActiveX Data Objects (ADO) (1)
- ADO.NET (5)
- ADO.NET 2.0 (4)
- Asp .net 2.0 GridView control.Grid (1)
- Base classes (1)
- Binary Search Algorithm (1)
- Binary search an array (1)
- Bubble Sort Algorithm (1)
- Bubble sort an array (1)
- C# Basics (2)
- C# basics Tutorial (2)
- c# programs (6)
- Concrete class (1)
- Console Application in C# (1)
- Core Java Basics (4)
- Creating First Hello World Application In JAVA (1)
- Cross page posting in ASP.NET 2.0 (1)
- Crystal Reports (2)
- DAO (1)
- Data Access Consumers (4)
- DataBase Basics (3)
- Database Management System (2)
- DBMS (3)
- delete (1)
- Displaying Total in Footer of GridView (1)
- Eclipse Installation In java (2)
- edit and paging in Asp .net 2.0 ? (1)
- GCD Euclidean Algorithm (1)
- Gridview operations in Asp .net 2.0 (1)
- How (3)
- How to convert a decimal value of four pleces to decimal value of two places in a gridview (1)
- How to Convert Date to String in Java (1)
- How to Convert String to Date in Java (1)
- How to Display Sum Total in the Footer of the GridView Control? (1)
- How to format values in column of gridview? (1)
- How to Get Information from the Source Page (1)
- How to Get Public Property Values from the Source Page (1)
- How to insert (1)
- How to Install JDK For Eclipse (2)
- How to Installing Visual Studio 2010 (1)
- How to Running Visual Studio 2010 (1)
- How to String Split Example in Java (1)
- How to suppress blank row(s) in detail section of the report? (1)
- How to use formula in crystal reports 10 (1)
- Installing Eclipse on Windows Linux and mac (1)
- Installing Visual Studio 2010 (1)
- Interfaces (1)
- Introduction To DatabaseManagementSystem (1)
- Iteration (1)
- JAVA (7)
- Java Basic (3)
- Java Development Kit (1)
- Java Program to print Prime numbers in Java (1)
- JAVA Programs (5)
- JDK (1)
- Linear Search Algorithm (1)
- Linear search an array (1)
- Multiple Inheritance (2)
- Namespaces in C# (1)
- Object Data Source in c# (1)
- ObjectDataSource Web Server Control Overview (1)
- Obtaining the Java Development Kit (1)
- ODBC (1)
- Open Database Connectivity (1)
- Overloading (1)
- Overriding (1)
- Passing arguments to base class constructor (1)
- Polymorphism (1)
- Prime Numbers (1)
- Programming logic codes (8)
- RDO (1)
- Recursion (1)
- Remote Data Objects (1)
- Reporting XML data using Crystal Reports and Windows Forms (1)
- Reversing A String (1)
- Running Visual Studio 2010 (1)
- Selection Sort Algorithm (1)
- Selection sort an array (1)
- Single-Tier Architecture (1)
- Spring Operations (1)
- String Operations (3)
- suppress blank section of data field and the label (1)
- Three-Tier Architecture (1)
- Two-Tier Architecture (1)
- Type Of Application Architectures (1)
- update (1)
- Using "Is" and "As" Operators (1)
- Variables in Java (1)
- Virtual functions (1)
- Visual Studio 2010 (2)
- Visual Studio Installation (1)
- Writing Your First Hello World Console Application in C# (1)
Suscribe Us
About Me
How to suppress blank row(s) in detail section of the report?
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment