Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Creating a summar with a custom function

Featured Replies

I have written an invoicing package for my company in FileMaker Pro 8. Each line item on the invoice has a Revenue Code ("revCode") and at the bottom of the invoice I would like it to list each revenue code and the total amount that goes in to each.

For example:

If I have an invoice with 4 line items.

Item 1: $5.98 RevCode: 001 3994 994

Item 2: $38.40 RevCode: 001 2993 449

Item 3: $9.95 RevCode: 001 3994 994

Item 4: $11.02 RevCode: 001 3304 299

And at the bottom of the invoice I would like a summary printed that would look like this:

Rev Code: 001 3994 994 Amt: $15.93

Rev Code: 001 2993 449 Amt: $38.40

Rev Code: 001 3304 299 Amt: $11.02

Some background:

Each line item is a different record. They are all tied together by "invoiceNumber". So to print an invoice we are performing a Find on "invoiceNumber".

Thanks for the help!

sorry way lack of cafeen hope this helps... there 2 scritpt options...

first 1 goes to line item and just sub summarizes only showing unique rev codes.

Second one populates a few globals to stack up the summary...

sample.fp7.zip

Ugo and Comment have more or less made precedence in this area, by using selfjoins for this purpose - not quite knowing when the straw that breaks the camels back actually is reached?

But the issue is that it's not necessarily a scripted matter, it could be achieved by an extra portal as well, exploiting tunneled relations...

--sd

sampleMod.zip

Edited by Guest

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.