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.

Copying the first few characters from a field

Featured Replies

  • Newbies

Hi. Newbie to the forums here... I have a database where I have two fields of data - let's call them field A and field B, and what I'd like to do is get Filemaker to automatically copy just the first 5 characters of field A and paste them to the start of the data in field B.

E.g. Field A currently says '1234abcd' and field B says 'efgh' and what I want is for Filemaker to add the '1234' part to field B, so that it ends up saying

1234efgh

Does anyone know how I do this? TIA!

left(A;5) will return you the first 5 characters of A

So, you can concatenate them to the beginning of B like this:

left (A;5) & B

In a script you would use the SetField step. Or, you could do this as an auto entered calculation, but I'm guessing you're working in a script.

Regards,

Don

Edited by Guest

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.