Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Is there any way to calculate with ## ?


This topic is 5963 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I have a report of several invoices wich restarts the page numbering after each invoice.

So one invoice can have more then one pages (depends on the amount of invoice_items).

I want the totals-data of an invoice always beeing displayed in the footer of the last page of the invoice.

Therefor I wan't to hide (using conditional formatting) the totals-data when ## != invoice::total_pages.

But I can't use the symbol ## in a calculation.

Does anyone knows how to get the ## data in a calculation?

Maybe there is custom function like get(Printed_Pagenumber)?

Posted

Can you re-think the report.

1. Make each "invoice" report a separate report

2. Use a TITLE footer to display the totals

3. Script the report(s) with a loop

Posted

This cannot be done using page numbering, because Filemaker calculates them on-the-fly when rendering the printed report, and there is no cross-reference between pages and records.

You could try testing for the last record in an invoice, e.g.:P

InvoiceID ≠ GetNthRecord ( InvoiceID ; Get (RecordNumber) + 1 )

See also:

http://www.fmforums.com/forum/showpost.php?post/252312/

Use a TITLE footer to display the totals

A Title footer appears at the bottom of the FIRST page - not the last one.

This topic is 5963 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.