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.

Featured Replies

I have a fairly complex calculation that works fine except for one situation. Basically it's calc;calc;calc/number_services plus a lot of other items. It doesn't work, of course, if number_services is "0" because you can't divide by zero. It messes up the whole calculation. So just for fun I tried calcs etc/number_services>0 and it worked. I'm quite surprised that FM would accept field>0 as a definition. Am I missing something here? As it turns out I didn't trust this method and set up validation on the number_services field to be not empty and to have a value greater than zero instead. This is academic for sure, but I'm curious all the same.

Why don't you post a copy of your file, a markup, or a copy of your calc.

  • Author

The file is huge. The question is academic. Think of it this way. 600/number_services. If number_services is 6, the answer is 100. If number_services is 0 the answer is ?. If the calc is 600/number_services>0 other parts of the calculation work fine.

This is interesting. I didn't know you could skip an error this way.  What happens here, I think, can be explained by =

0 / 0 = "?"

returning True instead of error. IOW, Filemaker puts the error (or rather the error symbol) on one side of the equation and then proceeds to evaluate as if nothing has happened. OTOH =

EvaluationError ( Evaluate  ( "0 / 0 = "?"" ) )

returns 15 ('Can't divide by zero'), so this could well be a bug instead of intended behavior.

Edited by comment

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.