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.

Quick conversion calculation

Featured Replies

  • Newbies

I'm stuck on a rather simple problem and I am hoping one of the pros on this forum can help me out. Keep in mind that I am just beginning to get used to Filemaker, having never used it before.

I am setting up a database that will be used by some folks here is the U.S. and some folks over in China. In this database, we will include various measurements of sorts. Basically, we want to have the metric system and the standard U.S. measurements.

We have two fields in our database. Cent and Inch. Basically, when someone enters centimeters in the Cent field, we want the Inch field to calculate a division by 2.54. Vice versa for the Inch field. When someone enters a value in the Inch field we want the Cent field to do a multiplication by 2.54.

I can't for the life of me (remember, I'm a beginner) figure out where to start with this one. I thought it would be as simple as specifying a calculation for each field when I define my database. No dice. One field always takes precedence over the other.

Perhaps someone here would be so kind as to help me with this one?

Make Cent a number with an auto-enter calculation, and 'do not replace existing value' deselected, of

If( Get(ActiveFieldName) = "Inch"; 2.54 * Inch; Cent )

Similarly, make Inch an auto-enter calc, with 'do not replace existing value' deselected, of

If( Get(ActiveFieldName) = "Cent"; Cent / 2.54; Inch )

I know this is not my post but thanks for that answer queue

Phil

  • Author
  • Newbies

Your response worked like a charm! Thanks for the help, -Queue-.

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.