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.

Insert additional characters based on function

Featured Replies

I have a look up field which drops down when clicked. 

The drop down shows me data from another field (i'll call it the 2nd field) in the related table.

The look up field varies in length with a maximum 10 characters.

I use "courier" font thanks to some suggestions on here as to how to get the data aligned.

The issue is that because the look up filed varies in the number of characters I cannot get the data from the 2nd field to align in the drop down list.

The beginning of the solution is for me to use the "length" function to find out how many chracters are actually in the look up field. 

I then deduct the number of characters from the 10 maximum and this gives me the number of additional characters I need to add in order for the 2nd field to appear aligned in the drop down list.

So, what I need to do is to work out a way of adding spaces: i see it this way - if the primary look up field is 4 characters then I need to add 6 spaces at the front of the 2nd field to make it align.

The issue is how do I write the calculation to add the spaces?

I don't understand many of your words ( FileMaker terms ), but to obtain a text with some spaces in front you could use:
 
Right ( "          " & yourField ; 10 ) // between quotes there are 10 spaces
  • Author

Thanks - I'll give that a go

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.