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.

Subtracting from balance

Featured Replies

I have a file we are trying to use in a high school parking lot. The file tracks parking fines. I have the file adding the total of fines owed, but I want to deduct the paid fines from the running total. THe fines are listed in a portal below the ticket by means of a self joining relationship. I have attached the file for you to look at.

I guess I am looking for a formula or calculation that will deduct the paid fine amount from the current balance when an "x" is placed in the paid box.

Any help will be appreciated.

Thanks

Lester

I am using FMP 11

ParkingFines.fp7.zip

I don't see an attached file. Try adding a calculation field =

Case ( Paid ; Amount )

where Paid is either a Number field containing 1 if the fine was paid, or - preferably, IMHO - a Date field containing the date of payment

Note that this is assuming a fine cannot be paid partially.

Members post should work for what you posted, however for your application you may want to consider a Balance due field or a balanced recieved , this can also let you take a partial as a student may not have enough to pay as it is.. and this will also solve your problem of totals.

  • Author

It now works. Thanks for the help.

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.