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.
Juggernaut

Featured Replies

Here's a weird question, the customer had fm7....

We have a time log for truck fuel fillings. All I want to do is look at the time, and if it's before 6am or after 6pm, flag a warning. I've written all kinds of permutations like:

Case (if (time) < 06:00;"Time Warning";if (time) > 18:00;"Time Warning";""

and it doesn't work right, i can't figure out a rhyme or reason why some come up with warnings and some don't the times seem all over the place, oh and (time) is a valid time field....

what obvious stupid thing am i doing wrong?

I even tried it with just one comparison, and it is still all over the place....

help

-John

Something like this:

Case (time < GetAsTime("6:00 am");"Time Warning";

time > GetAsTime("6:00 pm");"Time Warning";

....

If() requires multiple arguments and isn't needed here, but you need to convert the '06:00' to real times before comparing them.

Not sure what a one field warning of Time is going to do, but try this

Case ( Time < Time ( 6 ; 0 ; 0 ) or Time > Time ( 18 ; 0 ; 0 ); "Warning" )

HTH

Lee

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.