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.

On in-table summaries and running totals

Featured Replies

Hello all.

I have a table called EXPENSES. Each entry in this table has a Project Code, a date, and an amount.

I'm really stuck. Is there a way for each entry in this table to have access to a summary of the amounts for all the other entries in that table that:

a) Have the same Project Code, and;

: Have a date BEFORE the date of that entry in the table.

In other words each expense should be able to see the total of all the expenses relating to that project code that have come before it. Effectively, each expense has a running total of previous expenses against that project code.

Is this possible? If so, how does one acheive it? If I could somehow use a while/for loop I'm sure I could do it, but I'm hoping there's a function to acheive my aim. All responses appreciated.

Cheers.

My take at it, is that in order to scale should it be done with autoenter's - Unstored Sum( 's slows considerably down when the number of records grows.

This principle which I have instated in my template's validations is nowhere new to mankind. Luca Di Pacioli a Franciscan friar adapted in 1494 what the Arab's have done for centuries before Columbus discovered the Americas!

Here isn't it the demand for two accounts, which is the focus - but instead the prevention of tampering with previous records of expenses ... the demand to do the books in ink. If an error is committed should it be counter posted...

--sd

Expenses.zip

  • Author

Søren! You're a lifesaver. I will try and apply this solution and see how it goes. Thankyou so very much.

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.