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've played around with FileMaker 5 and have ordered version 7. I've been using another database system for 20 years and am considering a switch to FileMaker. So: I'm a rank newbie with FileMaker. Anyway, how can I use "edits" with fields? Suppose for a telephone number, I want the field value to change to the format (xxx) xxx-xxxx, regardless of what the end user types. Or, suppose for a social security number, I want the field value to change to the format xxx-xx-xxxx automatically. As far as I can tell, FileMaker lets you specify only whether a field is text or numbers (or one of six other categories) but doesn't let the developer specify the final format. Prove me wrong, please.

Look at the enhanced Auto-enter Calculation feature in FMP 7.

  • Author

I checked Amazon.com for books available for FMP 7, but there aren't many to choose from now. So I went to MicroCenter and purchased two books for FMP 6: The Book of FileMaker 6 by Kubica and FileMaker Pro 6 Advanced by Baron and Peck. Pages 51 to 56 of this second book have 24 steps for making a phone edit or mask. It boils down to making a separate mask field with this calculation:

"(" & Left( Abs(PhoneExtension), 3 ) & ")" & " " & Middle( Abs(PhoneExtension) , 4 , 3 ) & "-" & Right( Abs(PhoneExtension) , 4 )

where I've added an additional space between the area code and the regional code. I expect to receive my upgrade to 7 tomorrow and I'll try the Auto-enter calculation then.

In the online help for FMP 7, there is the example of the Filter function that lets you do exactly that: format a phone number automatically.

  • Author

My copy of FileMaker 7.02 finally arrived. The correct method for the phone edit or mask is now:

Phone =

Let(Phone = Filter(Phone;"0123456789");"(" & Left(Phone;3) &

")" & " " & Middle(Phone;4;3) & "-" & Middle(Phone;7;4))

/* Text calculation */

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.