Printing Group Footer
Hi, I'm trying to write a report where it prints a footer at the bottom of a multipage report. Kind of like a Visa Bill. I only want the footer to print once for each customer and only on the last page and at the bottom of the page.
I can get most of this to work but what I can't get to work is to print always at the bottom part of the page. Presently this prints where ever the last detail record printed or always takes the amount of 'gap' I leave in designer and then goes on to the next page.
If anyone knows how to do this, can you please let me know?
thanks,
Make sure you put the footer on the customer group break.
Similar Messages
-
How to suppress page header when group footer prints
I would like to suppress the page header on my report when a group footer prints. My group footer is going to be a bunch of legal mumbo jumbo and I'm going to have it do a page break before so it prints on it's own page. I do not want my page header info printing on this page.
Is there a way to do this? I am on Crystal XI. Thank you in advance.I haven't tested this, but...
Formula @InGroupHeader:
WhilePrintingRecords;
BooleanVar InGroupFooter;
InGroupFooter = False;
Formula @InGroupFooter:
WhilePrintingRecords;
BooleanVar InGroupFooter;
InGroupFooter = True;
PageHeader.Suppress:
WhilePrintingRecords;
BooleanVar InGroupFooter;
InGroupFooter;
Edit: I think I like Graham's solution better, actually.
Edited by: Garrett Fitzgerald on Jun 15, 2009 12:12 PM -
Group footer. Want to print one section in the body of report
I am working on an invoice.
It has two groups:
Detail line
Invoice number
In crystal the invoice number group header is ran than the detail line group fires.
After all the detail lines are printed for that invoice number the group footer for the invoice prints.
I have multiple sections in my invoice number group footer.
All these sections except the first has the property u201CPrint at Bottom of Pageu201D selected.
The First group footer section prints as it should directly below the detail section.
The second section print at the bottom of the page as expected.
The third group footer does not print till the end of the entire report. So if I have multiple invoices printing at one time I see an invoice subtotal for each invoice but the u201CTotal Dueu201D does not show until the last page. It is also always 0.00.
any help wouldbe appriciated.I'm guessing here, but it sounds like the data record is not "available" (past EOF?) when the footer is being printed. Try putting the db field into a shared variable in the detail section (basic syntax):
whileprintingrecords
shared total as number
total = {SOShipHeader.CuryBalDue}
formula = ""
Then use the shared variable in the footer:
whileprintingrecords
shared total as number
formula = total
HTH,
Carl -
Have a gap in detail of first page and not display group footer on each pag
Please help me about Memo field in SubReport in CrystalReportXI. I have a SubReport that need to display pageheader, detail, page footer, and in detail of subreport contains memo field and set the property of this text box to "Can Grow" = Yes .However, CrystalReportX does not support to display pageheader, pagefooter in SubReport. So. I have created a formular FakePageHeader that has code as
"WhileReadingRecords;
true"
and group in this field and checked option repeat group header on each page and right click Section Expert->check print at Bottom of page for Group Footer.
This problem is when I preview Subreport. It display text in group header and a gap in detail of first page and view next page, the subreport display right data of memo field. But the report still not display group footer on each page.
How do I can remove a gap in first page and display group footer on each page?
Thanksin subreport in format for the memo field uncheck keep object together.
You can not force group footers to repeat on each page.
I have not tried this but you might be able to capture the data you want to show in SR page footer and display in main report page footer, using shared variables.
Ian -
Repeat group footer on each page
Hi all,
I have a regular report with 1 Group. My problem is that my report doesn't repeat group footer on each page. I know that in Grouping options there is an option for "Repeat Group Header on each page" checkbox which makes the Group Header print on each page. I've found that Header and Footer both work together and that if you print Header it will print footer as well. The thing is I have paging functionality (<a href='http://www.crystalreportstrainingbootcamp.com/resources/trainers_talk_detail.asp?Title=03'>click here for paging details</a>) in my report in the Group, so once it reaches 14 lines in Details it goes to the next page, prints the GROUP HEADER but not the GROUP FOOTER on each report page.
Does anybody know why?
I found the following topic: <a href='http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=90BF3D79A308CCF6B58F1E2656225CDD?cmd=displayKC&docType=kc&externalId=c2004981&sliceId=&dialogID=360384&stateId=1%200%20356275'>Creating a fake group header for orphaned group footers</a> but it's for CR 7. Was it resolved in newer releases of CR or it still needs a work around? I'm not even sure if that will fix my problem...
Thank you,
TatyanaHello,
please give us the verison of your Crystal Reports product that we can investigate
Regards,
Falk -
Report Builder Group Footer Bug?
Data contained in a group footer does not print on a new page
when the group footer is the only section left to fill on the
current page. This is a serious problem when you embed a subreport
in a group footer because the subreport also fills on the same
column and overwrites the existing information instead of forcing a
new page.
Am I the only one experiencing this? Any suggestions?
Here is an example: Notice the data overwritten in the upper
right column. The footer info should have forced a new page.
Group
footer problem exampleTry using the Properties Panel - Elements selector to select
the hidden text fields. You should be able to delete them once they
are selected. -
Alternate color in group footer
Hi
i am using following formula to apply alternate color in detail section, section expert, color, background color-
if Remainder(recordnumber,2)=0 then RGB(223,223,223) else RGB(255,252,255)
but if i apply same formula to group footer section it's not working.
how to apply alternate color in records of group footer section?
Please give me solution.
Thank youHi,
Add
while printing records;
Above the formula and try to run it.
Regards,
Neo. -
One single Group Footer missing
Post Author: dbguy123456
CA Forum: General
I have inherited a Crystal Report (v.10). When I print preview it the Group Footer for just one group is missing. It is grouped on product, thus product 1 doesn't have a footer, but products 2, 3,... do have their footers. I've looked all over the place for what is causing this and can't figure it out. Since I wasn't the creator of the report (she is no longer available), I can't figure out how she did this.
How can I get product 1's footer to appear?Post Author: wapper
CA Forum: General
Probably conditional suppressing. Open "format section" dialog for this group footer and check for a formula in "Suppress" button. If it is empty, also check for suppressing of individual field objects in the group footer section.
Wapper -
I print my calendar at the baginning of each month to post on the frig. Occasionally I reprint it partway through the month if enough has changed. I wish I could print a footer with the date printed, so I can easily tell which is the latest version. Any ideas, other than handwriting it on each page?
I'm adding a "me too" too. This is making me crazy. I have about 10 calendars that I have to uncheck to print one calendar every day!
-
Previous record values displaying in the Group Footer row in the report.
Hi Friends,
I have 3 tables
TableA:(PERNR BEGDA ENDDA are key fields)
PERNR BEGDA ENDDA WERKS
10001 1/1/2010 12/31/9999 1001
TableB:(PERNR BEGDA ENDDA SUBTY are key fields)
PERNR BEGDA ENDDA SUBTY TYPES
10001 1/1/2010 12/31/9999 01 COMS1
10001 1/1/2010 12/31/9999 02 COMS2
TableC:(PERNR BEGDA ENDDA are key fields)
PERNR BEGDA ENDDA AMNT
10001 2/2/1997 4/3/2010 1000
10001 4/4/2010 12/31/9999 2000
I have joined these table by the key 'PERNR'( like A->B and A->C)
Groped by the same key 'PERNR'
My result rows in the report:
PERNR BEGDA ENDDA WERKS SUBTY TYPES BEGDA ENDDA AMNT
10001 1/1/2010 12/31/9999 1001 01 COMS1 2/2/1997 4/3/2010 1000
10001 1/1/2010 12/31/9999 1001 02 COMS2 2/2/1997 4/3/2010 1000
10001 1/1/2010 12/31/9999 1001 01 COMS1 4/4/2010 12/31/9999 2000
10001 1/1/2010 12/31/9999 1001 02 COMS2 4/4/2010 12/31/9999 2000
But in the report format is like this in the Group Footer row:
PERNR: 10001 WERKS:1001
SUBTY: 02 AMNT :2000 (Current date)
AMNT :1000 (Previous record)
I created the format with "Previous" function
but in the report it is giving the '2000' instead of '1000' in the AMT field
Please help me, can i use the for loop in the report? or any sugessions?
Thanks in advance.
Regards,
VenkataA 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 -
Problems with summary field in group footer
Hello
In a dynamically generated Report in c#, i made a sum in some group footer i have generated.
the values to sum are integers. But Crystal show a result like that : 1254.00 and i want it this 1254.
here the code use to make the sum in the group footer
l_CrySectionSousTotal = m_ReportClientDocument.ReportDefController.ReportDefinition.get_GroupFooterArea(b_intNumGroupe).Sections[0];
l_champsTotal.FieldFormat.NumericFormat.RoundingFormat = CrRoundingTypeEnum.crRoundingTypeRoundToUnit;
l_champsTotal.FieldFormat.NumericFormat.NDecimalPlaces = 0;
l_champsTotal.DataSource = "Sum ({ado.Poids})";
m_ReportClientDocument.ReportDefController.ReportObjectController.Add(l_champsTotal, l_CrySectionSousTotal, -1);
it's seem's like the NDecimalPlaces property do nothing.... i don't understand.
if you have an exemple of use of NDecimalPlaces ....
thanks for you help.Hello, Jonik;
The formatting changes will not take effect unless you tell the field not to use the default values.
So, try adding a line of code such as:
l_champsTotal.FieldFormat.CommonFormat.EnableSystemDefault = False;
before:
l_champsTotal.FieldFormat.NumericFormat.RoundingFormat = CrRoundingTypeEnum.crRoundingTypeRoundToUnit;
l_champsTotal.FieldFormat.NumericFormat.NDecimalPlaces = 0;
Elaine -
How to get the value of a variable in group footer in the report footer also
I have a placed a formula as below at the group footer and the report footer. The data is grouped on the basis of duedays which is again formula and the value in that is appearing correctly.
Whilereadingrecords;
Global Numbervar CNTONE;
Numbervar P := P+1;
IF P = 1 AND {@DUEDAYS} = 0
THEN CNTONE := {spSUPPLIERSOA;1.INVOICEBAL}
ELSE IF P>1 AND {@DUEDAYS} = 0
THEN CNTONE := CNTONE + {spSUPPLIERSOA;1.INVOICEBAL}
At the group footer I get the value correctly for CNTONE but when I place the formula in Report footer I get the value for CNTONE as 0.
Please do let me know how I could get the same value in the report footer also.
Regards
Sreejith JHi Abhilash;
When I give the statement whileprintingrecords then my above formula sums up only the first record and the last record of the group and when I give whilereadingrecords it adds up all the data in the group correctly.
The formula that you mentioned for the report footer had worked out and it is showing my result correctly.
I did not put up the reset formula on the group footer because as the group changes I had used another variable in another formula for example for the second group I used
Whilereadingrecords;
Global Numbervar CNTTWO;
Numbervar Q := Q+1;
IF Q = 1 AND {@DUEDAYS} = 30
THEN CNTTWO := {spSUPPLIERSOA;1.INVOICEBAL}
ELSE IF Q>1 AND {@DUEDAYS} = 30
THEN CNTTWO := CNTTWO + {spSUPPLIERSOA;1.INVOICEBAL}
I have set up total 5 such formulas as the number of groups that will be formed is 5. I have put up these formulas on the group footer and suppressed it as I dont want to get it displayed.
The as you suggested the solution for Report Footer I did that and getting the result correctly.
I dont know I may be following a longer procedure
Take Care
Sreejith J -
How do I keep together items in a group footer?
I have a report that has a line of detail, followed by a subreport, and then another subreport all in the group footer. The report is also formatted to be displayed in two columns. The problem I am having is that even with the keep together checkbox selected in the group footer, often times the line of detail and the first subreport are displayed and the second subreport is shown in the second column. They need to all move to the second column if there is not enough room in the first column for everything to be displayed. Any ideas on how to accomplish this?
For example:
Information Subreport2
Subreport1 Information
Subreport2 Subreport1
Information Subreport2
Subreport1
When what I want is:
Information Information
Subreport1 Subreport1
Subreport2 Subreport2
Information
Subreport1
Subreport2
Or:
Information Information
Subreport1 Subreport1
Subreport2 Subreport2
Information
Subreport1
Subreport2Hi,
You can place the all fields in Group Footer #3
Try to do it abhilash suggestion for Group3..
Please go to the Group Expert > highlight the group field > options > options tab > check the 'keep group together' option.
Please update the status
Thanks,
DJ -
How do i copy and print groups from my address book?
How do I copy and print groups(with contact information) from address book? I want to copy a group of contacts in list form that ideally I can paste into Excel.
I'm not sure exactly what you are asking. If you are coming from pre-Mountain Lion, then Address Book has changed to Contacts.
Open Contacts.
Select an Account in the group list, if you want the contact in a specific group. If Groups aren't showing, you can display them from the View menu.
Click the Add card button ( + ).
Enter the information for the contact.
If you need multiple entries for a particular field type, a new blank entry will show up below the one you are adding.
If you need other fields, use the Card menu to Add a new field type.
If you want to change the default fields available when you create a new card, choose Edit Template…
If you have sent emails to someone and you want to get that address to add to a Contact, use the Previous Recipients command in the View menu in Mail.
If you need to add a new Group, hover the cursor over the account name, and a + button will appear. Click it. -
I need to print the footer in all pages except last page.
Hi,
I'm working on PO RTF template. I got one probelm, I need to print the footer in all pages except last page.
Can someone help me in this.
Thanks in advance.
Venki.This question has been answered already multiple times - please search the forum before posting a question - in case you did and you didn't find it - we added a feature
in 5.6.2 to solve this problem - It is described in the user guide in the RTF template section search for start@last-page:
Last Page Support
XML Publisher now has the ability to show content only on the last page. This is useful for documents such as checks, invoices or purchase orders where you want want content such as the check or a summary in a specific place only on the last page.
The basic command is:
<?start@last-page:body?>
<?end body?>
http://forums.oracle.com/forums/search.jspa?threadID=&q=%40last-page&objID=f245&dateRange=last90days&userID=&numResults=15&rankBy=9
Any content above or below these two tags will only appear on the last page of the document.
Hope that helps,
Klaus
Maybe you are looking for
-
Migration of Oracle 32-bit to 64-bit on same Windows host.
Hi, Title: Migration of Oracle 32-bit to 64-bit on same Windows host. We have windows host x64 bit. Oracle is 10g 32 bit and we want to migrate it to 10g 64 bit. I would like to know the steps. Note 940811 is not clear enough. Please help. Many thank
-
Cannot send mail with .mac
I can receive mail with .mac account, but not send mail. I can send and receive mail using another account. Has something changed with .mac?
-
Material Creation date at Plant Level
Hi All, I am not able to get the date when the material was extended for a new plant . Please help me . regards, Sukant
-
When combining files, BOLD letters are missing throughout the report
After OCR'ing and printing excel documents to my Adobe PDF printer, I try combining all the files and after completion I open the combined file and all the bold characters have missing letters, When I highlight the word and copy/paste, the word is th
-
Cant open itunes. Windows error! Can anyone help?
My iTunes has been ok since I loadedit and no problems. Tried to open it two days ago and I got a windows pop up window saying an error had happened and it was going to have to close. So iTunes never opened. I kept trying to open it and still the sam