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.

Converting File Sizes (bytes to Kbytes to Mbytes)

Featured Replies

I have three fields: (F_Size_Bytes, F_Size_KBytes, F_Size_MBytes). I want to be able enter data into anyone of these three and automatically have the other two updated. If this is impossible then how could i have a fourth field (F_Size) be the total number of bytes (even though i inputed say MegaBytes): I understand the math concept (*1024 or /1024) i just don't know how to get filemaker to work this way. One other possible solution is like the one @ http://javascript.internet.com/calculators/download.html where there is only one input field but you press a button to choose the measurement. I would really appreciate some help on this one! (so would my boss laugh.gif" border="0)

Okay, assuming you will only enter one of the fields, you can use the following guide for the fourth calc field:

Case(not IsEmpty(F_Size_Bytes), F_Size_Bytes ,

not IsEmpty(F_Size_Kbytes), F_Size_KBytes * 1024,

not IsEmpty(F_Size_MBytes), F_Size_Mbytes / 1024,

"")

To do it the other way, entering one number and pressing a button to convert it to whatever you want would be fairly simple as well, but I would probably stick with the above. If you want to try the button thing, let us know and I or someone will help you work it out.

Jeremy

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.