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.

Using the name of a field in that field's calculation

Featured Replies

Hi,

  I've been struggling with the best way to explain this question, but here goes:  When defining a calculation in a field, is there a way to "get" the name of that field? 

For example: If I have a calculation field named "Tango10" and another field named "Tango20"  is there a way to have get the name of the field calculation in those fields such that I could do the following:

Calculation field = 10*right(getfieldname,2)

Where the getfieldname would be the function that I'm looking for and the result for fieldname Tango10 would be 100 and fieldname Tango20 would be 200?

So basically, I'd like to be able to use the name of the field in a calculation.

Thank you, and Happy Thanksgiving!

 

 

Technically, yes. It's possible to use:

GetFieldName ( Self )

to get the name of the calculation field where this formula is evaluated.

However, I am quite certain there is a better way to accomplish whatever you're trying to accomplish by this contraption.

 

Edited by comment

4 hours ago, metamict said:

If I have a calculation field named "Tango10" and another field named "Tango20" 

I hope you don't have fields named this way. It's a red flag that this should be related records instead. 

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.