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

Combining two fields

Featured Replies

Currently my database has a field (number) for phone number area code and a second field for the actual phone number. I need to combine the two fields so that the entire phone number appears in one field only. Can anyone give me some hints? I intend to import data into another database for a specific user who has this requirement. Should I do this with a script or calculation? I am clueless.

You're only doing this so you can export as a single field? A calculation field should be sufficient.

Create a new calculation field, and make the definition the following

AreaCodeField & "-" & PhoneNumberField

This will make your new field equal to the area code, then a dash, then the rest of the number. The "&" connects the parts, so you can see how you can use this to use other formatting options (if you wanted brackets for example).

Hi Mary,

There are a couple of ways to approach this. The simplest would be to add a field through your Field Definitions, such as WholePhone, type calculation. When the calculation box appears, double-click your AreaCode field, then click the & sign, then add a space or dash between the "", then another &, then double click your PhoneNumber field. Set calculation result to TEXT and go to Storage options and click the box that says "Do not store."

So your calculation formulae would be something like:

AreaCode & "-" & PhoneNumber

Then find all the records you want to export, and export just this calculation field. You could then also use this calculation field for 'displaying' your complete phone numbers on reports, etc. smile.gif

  • Author

Thanks guys, I really appreciate your help

Mary

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

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.