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.

Suppress calc in table field calculation when not all elements of the equation are present

Featured Replies

EDIT: Figured this out. So simple. Rather than use a field calculation in the table, I just calc it in the same script that enters the ClockOut timestamp.

In a timeclock program, a timestamp is entered into a ClockIn field first, then when the employee leaves a timestamp is entered into a ClockOut field. A calculation field shows how many hours between the two.

But it gives an error number (-176221) when only the clockIn field is filled.

How can I suppress that (for aesthetics mostly) until the 2nd field is filled?

thanks

Case( not Isempty( timestampfield1 ) and not isempty( timestampfield2 ) ; <calculation> )

  • Author

Case( not Isempty( timestampfield1 ) and not isempty( timestampfield2 ) ; <calculation> )

Mostly, Thanks.

  • Author

Mostly?

Really sorry. Below your picture it says 'Mostly Harmless' and I thought that was your username ( it could happen...). I see now your name is Vaughn.

So I meant:

Vaughn, thanks...

Sorry. Cute works 50% of the time, at best.

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.