Jump 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.

Featured Replies

Hi!

I have tables: 'Orders', 'Quotation' and 'Adress'.

'Orders' and 'Qoutation' can make new records in 'Adress' if user push a button.

I want to FM count the records that contains the same company at the 'Orders' table and show the result in 'adress' table. (wich is in list view).

Example:

No.__Company__order count

1.___Mercedes__10

2.___Audi_______50

etc.

I tried this formula but it's give a fake result:

Count ( List ( Orders::Company); Company )

Anyone can help me?

Learn about summary fields and basic reporting.

Suggest you try completing the tutorial that comes with FileMaker.

  • Author

Yes I have to learn but I read tutorials and practice with tutorial files and I still don't know how can I calculate that sum. I read FM help too and there is no information about using formulas terms.

Example I made the sum of the orders value (total-total sum) and I can't define to omit that record wich is in an other currency. Currency is defined in a separate field and value is always in the same field. I think I want to use a search-calculation but how can I do that?

Calculation formulas exclude search option...

Thank you in advance

I'm sorry, but I've read and reread your post, and cannot make sense of your data structure. Why would a user create an Address record from a Quote? Addresses are usually tied to Contacts. It also seems that you are not relating tables by key fields (IDs).

If you post the tables and how they are related, we can offer some advice on how to structure (model) your setup properly.

I suggest you study a filtered portal example to see how a relationship could help you "look" into a child table and see only the records that satisfy your criteria.

Try:

PatternCount( List( Addresses::CompanyName ) & ¶ ; CompanyNameToCheckFor & ¶ )

Yes I have to learn but I read tutorials and practice with tutorial files and I still don't know how can I calculate that sum. I read FM help too and there is no information about using formulas terms.

Example I made the sum of the orders value (total-total sum) and I can't define to omit that record wich is in an other currency. Currency is defined in a separate field and value is always in the same field. I think I want to use a search-calculation but how can I do that?

Calculation formulas exclude search option...

Thank you in advance

There is no sum to calculate; you use a summary field and when you use subsummary parts and sort-by, the total shows up for each group.

Go back to the tutorials, about page 63.

Create an account or sign in to comment

Important Information

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

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.