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.

SUM Field Calculation

Featured Replies

Hi,

 

I am trying to get the sum() of field base on two condition.

 

Attached is my calculation : If ( Invoice Entries::INVPaid=0 and Invoice Entries::Age of record<-30;Sum ( Invoice Entries::Inv Amount );0 )

 

Please let  me know if i am making any mistake.

I'm guessing you're defining this calculation in the context of a parent record (Client? Invoice?) that has multiple related Invoice Entries records.

You'll need to either define a new calculated field in Invoice Entries:

Case( INVPaid = 0 and Age of record < -30; Inv Amount )

// (age less than -30 is that right?)

... and then get the Sum() of this new field, or;

... create a new relationship to Invoice Entries that includes your INVPaid and Age conditions, and base your Sum() on that.

Or get FileMaker 12 and use ExecuteSQL.

Welcome to FMForums!

  • Author

Hi, thank you very much it work for me. sorry was out so couldnt reply you.

 

Also can you help me to intregate Barocode to my database.

 

I have an inventory database where i do all the in and out. my client requirement is that during the time to stock receive he will just scan by the serial number of that product to save in the inventory database.

 

can you help me?

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.