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.

Summarizing Calculated Values

Featured Replies

I feel like I'm on quite a roll with all the help I've gotten from this forum lately, so I think I'll press my luck with another question.

I'm working on a module for my cabinetshop database that makes it easier to pass work orders to the back. It starts out at the front end with a SHOW CUSTOM DIALOG script and ends up with a series of scripted find statements.

In the middle of all this is the part where you capture elapsed time on each work order. I have introduced a summary field that totals all of the elapsed times. It works just fine as long as every work order that has been started is complete.

The problem is that if somebody has hit the START button and has not completed the work order, the summary field result is a great big question mark (?).

Is this because I have an open loop of some kind?

Is there a way to have the summary field show the total of all records except for the current, active record?

Does anybody have any thoughts on this?

Thanks,

Jarvis

Without knowing field types and how you're calculating the time taken, I can't get too specific. But the you should be able to make a second calculation field that uses this kind of logic:

ConditionalTime = if(iscomplete,timetaken,0)

Then summarize ConditionalTime, which should only have values if the order is complete.

Jeff

  • Author

Jeff,

Thanks. That did the trick!

Jarvis

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.