Suppress a field in the page footer unless it's the last page of the group
Hi,
I have a report set up where one can pull invoice information. There is a page footer used for every page which contains a field that I only want visible when it is the last page of the group.
For example, one might pull several invoices, each invoice being its own group. A field would be suppressed in the footer unless it is the last page of that particular invoice.
Is this something that can be done in Crystal Reports XI?
Thank you.
Hi,
Alright, it's a bit rusty but here's how you can do it:
1) Create this formula and place it in the Report Header:
whileprintingrecords;
numbervar n1 := groupnumber;
2) Create this formula and place it in the Group Footer:
whileprintingrecords;
numbervar n := groupnumber;
3) Create this formula and place it on the Page Footer:
whileprintingrecords;
numbervar n;
4) Right-click the above formula (Formula on the Page Footer) and select Format Field > Common tab > click the formula button beside 'Suppress' and use this formula:
numbervar n1;
numbervar x;
if currentfieldvalue <> n1 then
x := 1;
true;
else
x := 0;
true;
5) Right-click the field that you wish to always suppress except on the last page and select Format Field > Common tab > click the formula button beside 'Suppress' and use this formula:
numbervar x;
if x = 1 then true;
Let me know how this goes!
-Abhilash
Similar Messages
-
How to display or suppress a field in the group footer conditionally
Hi,
I am working with crystal report XI R2
My requirement is that suppress the filed on group footer if it is duplicating .Also display only once for the first record in each page if it runs in to more than one page .
For example suppose my report is to display all the students name in a college on department basis.
Then do the grouping on department ,then display the names like
Page 1
Department +Student+
Computer Ram
Ravi
Seetha
Electronics Anvar
Deepak
Geetha
Page 2
Electronics Hari
Karthik
Xavier
Maths Sini etc.......
Inorder to suppress the duplcated department name ,i am taking the count of the student names for each department and if the count is more than 1 then suppressing it.
But i am not able to display it conditionall on each page for the first record ,if the repor is running in different pages..
Please let me know if you require more information regarding teh same.
Thanks in advance,
Smitha
Edited by: smitha thomas on Nov 17, 2010 9:58 AM
Edited by: smitha thomas on Nov 17, 2010 9:59 AM
Edited by: smitha thomas on Nov 17, 2010 10:02 AMRight click the department name column and go to format field and select supress if duplicate...this will remove duplicates
to get it displayed in each page
create a formula say F1 and place the column inside the formula
and conditionally supress for each page
This may help
Thanks,
Ganesh -
Special summary field in the group footer section.
Post Author: Razzle00
CA Forum: General
I have a Crystal Report that reads a customer file grouped by custid. In the group footer section I need to place the value of the category field from each customer record in a seperate field on the report to match the section text label.The output of the report would look something like this for each customer id (1 page per cusomter id)....
Customer Table Example:Custid Category Section
101 C 1101 B 3101 D 6101 A 2 230 B 2230 D 3 230 E 1115 A 5115 C 6
Each page of report example output:************************************************<pageheader>
Customer Number: 101
<Details><groupfootersection>
This customer has the follow for each section:
Section 1: C Section 2: A Section 3: BSection 4:Section 5:Section 6: D
<Pagefooter>************************************************
How would I create a field that could diplay the category for each section in the groupfootersection of the report?I realize this could be done in the detail secion of the report for each record, but I do not have the optionto use the detail band. It has to be done in the groupfootersection so that the fields can be placed in variousplaces depending on customers preference.
Thanks,
RazzleA group footer will dis[lay contents of the last record. You need to sort records to ensure that the last record contains link to your dynamic image.
Ian -
Reason to put database fields inside the fields
1. I put in (word and database fields) inside fields box in order to let my word display smoothly one by one.
Problem is , i am in section report footer d, i plan to suppress {Qrev if the value is "AAA"}
got this type of function?
If the Qrev = "AAA" than suppress/hide it.
Design screen :
We will the undersigned, hereby acknowledge my acceptance of the above quote and agreed to the rates, terms and conditions stated herein as per your reference no: {QRef} dates
Display screen=
We will the undersigned, hereby acknowledge my acceptance of the above quote and agreed to the rates, terms and conditions stated herein as per your reference no: 2014 AAA dates 10 march 2009
wanted display screen
We will the undersigned, hereby acknowledge my acceptance of the above quote and agreed to the rates, terns and conditions stated herein as per your reference no: 2014 dates 10 march 2009As what u say, i try to key in a [formula fields] call Qrev
here the code :
if {Quotation.QRev} = "AAA" then
{Quotation.QRev} = " "
We will the undersigned, hereby acknowledge my acceptance of the above quote and agreed to the rates,
terns and conditions stated herein as per your reference no: MKT-2009/05/0018 True dates 19 Jun 2009
but the Qrev.wouldnt be go delete / as a blank value. The value will only become true or false
Edited by: chee85 on Sep 18, 2009 7:40 AM -
Suppress IDoc field contains the character "/".
Hi
I am using a reudced message type ZDEBMAS, to generate an XML idoc with some segments and fields selected. When i generate an idoc, the fields not selected for the segments appear with "/" in idoc and finally in XML
Is there any way supress the fields not required(from the list of segments) i.e. not to appear in Idoc or any exit available to suppress them for not appearing in XML output.
Cheers
Chethi
By doing idoc reduction (BD53) I have already suppressed the segments I donu2019t require (as step 1) and the same transaction also allows you to select the fields that you want to appear on idoc u201Cwith valuesu201D. My problem is within the segment the fields that I have not selected appear in Idoc with a value of u201C/u201D which if possible I donu2019t want them to appear?
cheers -
In VB Programming code -- How to access the formula for suppressing a field
In VB Programming code -- How to access the formula for suppressing a field
I am using Crystal Reports 2008 v1
Using VB code, I am attempting to modify a Crystal Report before exporting it into a PDF format and then displaying it on the Web.
My problem is that I am unable to access the formula used to dynamically suppress a field.
The following code is working:
mySections = rd.ReportDefinition.Sections
For Each mySection As CrystalDecisions.CrystalReports.Engine.Section In mySections
' myFieldToChange is a String set to the text of the field I need to adjust the Suppression
iloop = 0
For Each RecObj As CrystalDecisions.CrystalReports.Engine.ReportObject In mySection.ReportObjects
If mySection.ReportObjects.Item(iloop).Name.ToLower = myFieldToChange Then
myTextObject = CType(mySection.ReportObjects.Item(iloop), CrystalDecisions.CrystalReports.Engine.TextObject)
myTextObject.Text = "new field text goes here"
mySection.SectionFormat.EnableSuppress = True
' Here is where I want to change the formula for the Suppression
End if
iloop = iloop + 1
Next
Next
I can not find any reference to the actual suppression formula in the SDK help file.
Note, the EnableSuppress can be set to True for False, but if there is a formula for dynamic suppression, the True or False value is overwritten. The results of the formula determine the suppression.
Is there a way to reference this formula. I know that I can put on in using the Crystal Report Designer software, I need to modify this formula using VB code and the SDK.Hello, Mark;
If you are using the ReportDocument object you do not have access to the Conditional Suppression formula. You can get around it by using a formula field in the report for the supression and then using the FormulaField code to change it at runtime.
If you want to change the supression condition directly at runtime you need to use RAS and the ReportClientDocument.
Elaine -
Help in suppressing Adobe Fields
Hello all,
I am new to Adobe forms livecycle designer, apologies if it is a basic question. My requirement is as below:
1. Based on the data in my xml data file may be one field some where in the file, I should be able to suppress other fields in the form. What is the event I should be writing my script on, I have seen this discussion http://forums.adobe.com/thread/861342, but it is on the click of a radiobutton, want something which happens on seeing the data.
Also how will I check the data field, because the form element can be suppresed by xfa[0].form[0].Invoice[0].Subform3[1].MonetaryAmount[4].presence = "inactive";
2. A segment in my invoice XML keeps repeating, but the identifier and the amount keep changing for every occurence of taxsummary. Example as below the target fields in my adobe form have to populated based on the <Ident> field, if it GST put <TaxableAmount> to TAX_GST, if it PST put <TaxableAmount> to TAX_PST.
<TaxSummary>
<Tax>
<TaxTypeCodedOther>
<Identifier>
<Agency>
<AgencyCoded>Other</AgencyCoded>
<AgencyCodedOther>GST</AgencyCodedOther>
</Agency>
<Ident>GST</Ident>
</Identifier>
<TaxableAmount>52500.00</TaxableAmount>
</TaxTypeCodedOther>
</Tax>
</TaxSummary>
<TaxSummary>
<Tax>
<TaxTypeCodedOther>
<Identifier>
<Agency>
<AgencyCoded>Other</AgencyCoded>
<AgencyCodedOther>GST</AgencyCodedOther>
</Agency>
<Ident>PST</Ident>
</Identifier>
<TaxableAmount>9500.00</TaxableAmount>
</TaxTypeCodedOther>
</Tax>
</TaxSummary>
<TaxSummary>
<Tax>
<TaxTypeCodedOther>
<Identifier>
<Agency>
<AgencyCoded>Other</AgencyCoded>
<AgencyCodedOther>GST</AgencyCodedOther>
</Agency>
<Ident>HST</Ident>
</Identifier>
<TaxableAmount>1500.00</TaxableAmount>
</TaxTypeCodedOther>
</Tax>
</TaxSummary>
Can anyone please provide any solution for my problem
Regards,
PrashanthYou should post this in the LiveCycle Designer forum.
-
Dynamic Picture Displaying in the Group Footer Section
Hi all,
I am building a sales quotation layout for SBO in crystal 2008.
The layout has only one group. The first line in each group in considered to be a slaes tree father.
For every group i need to display the picture of the "father" in the group footer (one picture for every group).
I get up to the stage when for each line in the detailes section i have a picture, but for all the lines other then the "father" line the picture is supressed.
My problem is moving the displayed fahter picture from the detailes section to the group footer section. Every time i copy the picture field to the group footer nothing is displayed.
Any idea?
Thanks,
UdiA group footer will dis[lay contents of the last record. You need to sort records to ensure that the last record contains link to your dynamic image.
Ian -
Blank Page with repeated group header getting displayed
Hello All,
One more help i need,
Am having a formula field in the group header for the same reprot which i have posted earlier and am displaying some text based on the condition and the option repeat group header is checked for each page.
the issue here i am having is while exporting the report to .txt (flat file)
the formula field is displaying same static data (i.e. the formula field is not evaluating while exporting to .txt)
could you please help in resolving this.
Thanks
RanjeetHi Ranjeet,
Can you attach that report with sample data to this thread?
--Naga -
Problem in summarizing data in the group level
I have four groups namely
i) Year Case opened.
ii) Month Case opened
iii) Case Status
iv Case Severity
In the details section there are few details for the report to show namely Case Severity (ie., Level 1, Level2 etc) and Case Status (ie., Opened, Closed and Pending).
In the Case Severity Level i am displaying the count. Till now everything is fine.
Now, a statistics for the month has to be added. I haved the fields in the Group Footer of Month Case Opened.
I need to calculate the total Case Severity of Level 1 in opened status and total of Level 2 in opened status and so on..
Only the last Case Severity value total is shown correctly in statistics of the month.
Please let me know if there is any suggestions on this.
Thanks in Advance.No. I havent used.
I tried using a cross tab and i am getting the correct value. But i wanted to use the same logic of crosstab in formula because in crosstab it is showing only the values available in that group.
What i needed is, even if the many case status description not able for a group it should display all the name and the corresponding value should be zero in that case.
Hope i tried to explain the problem properly. Pls let me know your comments. -
How to make use of the 'Groups' in Screen Layout?
Hi All,
I have a screen with 10 input fields (F1, F2, .. F10).
I set the 'Groups' attribute in the screen layout to 'DIS'.
How could I make use of this 'Groups' attribute so that when I loop the screen, I will only disable fields with the 'Groups' attribute set to 'DIS'? Thanks
I tried the following codes, but it's not working:
LOOP AT SCREEN.
IF SCREEN-GROUPS IS NOT 'DIS'.
SCREEN-INPUT = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
It says ==> The data object 'SCREEN' does not have a component called 'GROUPS'.In the Attributes of a screen field, there is an attribute called "Groups". This has 4 options for input (4 text boxes)
SCREEN has 4 fields GROUP1, GROUP2, GROUP3 and GROUP4.
The first text box under Groups attribute corresponds to SCREEN-GROUP1,
2nd text box for SCREEN-GROUP2
3rd text box for SCREEN-GROUP3
4th text box for SCREEN-GROUP4
Hope this helps.
Thanks,
Balaji -
How to hide fields on Repetitive Area Footer on the last page?
Hello,
How can I avoid printing some fields on the last page, when this fields
are on the Repetitive Area Footer, and the Repetitive Area Footer is
defined to print on all the pages? I was hoping to do this with fileds linked
to (ContinueNextPage) field, but it doesn't work!
Regards,
Júlio PinhohI Júlio Pinho,
i think, it is not possible in Repetitive Area Footer on PLD.
but, it is possible in Page Footer on PLD.
IF you dont need print some Fields in Last Page on printout.
Try this,
->> Open the require PLD.
->> Create require Fields in Page Footer.
for example,
=> Create DocTotal Field in Page Footer on PLD.
=> Link to SystemString (ContinueNextPageNotice) Formual FieldID in DocTotal Filed.
Save and Run the Print Preview.
Regards,
Madhan. -
How do I create a global text field so the value will repeat on other pages?
This is the first time I've used Adobe Livecycle Designer ES2, My experience stems from Acrobat Pro 8. I have the following fields:
1. Date Field (date formatted)
2. Name (text formatted)
3. Chart # (numeric formatted)
4. Date of Birth (date formatted)
These fields will be on Page 1.. I have a form that's 4 pages.... once the user fills in the fields on the first page, I want it to automatically populate for pages 2 through 4. How can I make this possible?
Second question: How do I make Extended Features for reader without distributing the form? There's an easy way to do it in Acrobat Pro, just not sure how in Livecycle Designer ES2Well, everything in those PDFs were form fields. You can make form fields in Acrobat - and then you can right-click on 'em and change their appearance, whether or not they'll accept rich text input, whether or not they'll scroll, and so on. It could also be done in LiveCycle Designer, for what it's worth. I wrote a now-obsolete post about this in response to yours before Mike showed up with this video.
Probably most of your work on your designs in InDesign would need to be trashed; you'd need to rebuild the whole thing in Acrobat or LiveCycle. I have to say that, unless your targeted documents are extremely simple, that this is one of the worst document translation workflows I've ever seen in the last fifteen years. It might work - I'm trying to keep an open mind, here - but if you have any non-Latin-script languages in your target list, or if print reproduction is what you're after, or if you're expecting tracking revisions to the translations to be anything but a nightmare, I would suggest that you test this method inside and out before progressing any further. -
How to place aggregated fields in the page header or group header
Hi,
i have a report where in i have to display a header based on the aggregated value of a field
currently the field has values like
row1 blank
row2 blank
row3 Cookies
row4 blank
I wanted to know how to get the maximum of these rows in the page header i.e. it should come as Cookies for this case.
Is there any way to get this? it is easy in the footer where i can do a maximum of this field and get the value but not sure how to get this in the group header.How do we group maximum at the page header or group header?
Require your help on this at the earliest.
Thanks
ShilpiHi Shilpi,
>
Shilpi Sinha wrote:
> currently the field has values like
> row1 blank
> row2 blank
> row3 Cookies
> row4 blank
>
Do display these things in a subreport(i mean adda subreport in detail section). And Create a formula in the subreport itself with shared varible for assiging the maximum value ..
Then in the main report , create one formula with same shared variable and just display in Header secton..
Regards,
Salah. -
Suppressing a line if the sum of a value = 0 in a group footer
How do i suppress a line if the sum of a value = 0 in a group footer
I have tried this this formula in the section expert - Sum ({RM_INV.QUANTITY}) = 0
will not work.Hi Dana,
The sum function needs to include the group you have your total in like:
Sum ({table.FIELD1}, {RM_INV.QUANTITY}) = 0
{table.FIELD1} would be the field you are grouping on. Your formula was summing the grand total for RM_INV.QUANTITY.
Thanks,
Brian
Maybe you are looking for
-
HT4664 What is the best graphics card for FCPX?
In the nonstop anti-FCPX propaganda is an article of interest - posted 7/9/12 - comparing the benchmarks of FCPX and PP6. http://www.streamingmedia.com/Producer/Articles/ReadArticle.aspx?ArticleID=83582 &PageNum=1 The system used was a 2 x 2.93 GHz Q
-
RE: Validating XML message...
Actually I stand corrected. XML Spy does seem to provide an OLE API to XML validation ( the isValid method on the IDocument class ) although I haven't tested it yet. In my previous post I was thinking of another XML product I tested earlier in the we
-
How can I open shared files from laptop?
I have connected my external hard disk to Airport extreme and configured through my laptop (Windows). Now I want to see files existing in hard disk through wireless. How can I open files and photoes? Regards, Balaji.
-
Someone can help me ??
-
Where are iCloud Downloaded Documents Stored on an iMac
I have downloaded a couple of Numbers document. I can't find them. Even searched in Finder. Any one know where the documents are stored and how to open them in Numbers? Apple's doucment is very weak here.