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.

Calculating Text

Featured Replies

Hi All,

I have a field called ClassID that holds four numbers i.e. 1786

What I would like to do is break the numbers down into 4 seperate fields.

i.e.

field 1 (BuildingName) would hold whatever the first number is (in this case 1)

field 2 (EntranceNumber)would hold whatever the first number is (in this case 7)

field 3 (Floor)would hold whatever the first number is (in this case 8)

field 4 (RoomNumber)would hold whatever the first number is (in this case 6)

I will then use calculations for the results to show which building, which entrance, which floor and which room number.

I have already done the last bit.

I cannot figure out how to break up the 4 numbers.

Does ClassID have to be a number field or can it be a text field.

Thanks in advance

I cannot figure out how to break up the 4 numbers.

Use the Middle function such as:

Middle ( ClassId ; 1 ; 1 )

Middle ( ClassId ; 2 ; 1 )

I will then use calculations for the results to show which building, which entrance, which floor and which room number.

You should be using relationships to the respective tables instead.

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.