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.

Field names on a layout

Featured Replies

Hello,

Is there anyway to print a list of the field name on a layout (not the whole database)? Thank you.

Look for the fieldnames function:

FieldNames ( fileName ; layoutName )

  • Author

Thank you BruceR for the reply. Would you please explain a little more? I'm not so bright when it comes to FM. I need a list of all the fields on a specific layout. Thanks again.

  • Author

Hey, I got it now. Thank you very much for your help!

Hey,

Let me explain a bit more:

FieldNames ( fileName ; layoutName )

This calculation lists all the names of the fields on a layout.

Therefore, in the fileName you must specify the name of the file or database you are working on, and the layout name on the layoutName parameter.

You can use other functions as well to produce the fileName and layoutName dynamically:

Get ( FileName )

Get ( LayoutName )

So it would look something like this:

FieldNames ( Get ( FileName ) ; Get ( LayoutName ) )

Make sure the result is text for the calculation

  • Author

Great! I'm glad to learn about that too. Thank you Linndgberg and again, thank you BruceR. I love this forum.

Samuel

Be sure to learn how to use the FileMaker help system. This command is documented there, and once you learned of the existence of the command you should be able to use the help system to figure out how to use it.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.