_samuel_ Posted January 10, 2010 Posted January 10, 2010 Hello, Is there anyway to print a list of the field name on a layout (not the whole database)? Thank you.
bruceR Posted January 10, 2010 Posted January 10, 2010 Look for the fieldnames function: FieldNames ( fileName ; layoutName )
_samuel_ Posted January 10, 2010 Author Posted January 10, 2010 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.
_samuel_ Posted January 10, 2010 Author Posted January 10, 2010 Hey, I got it now. Thank you very much for your help!
dayzrespite Posted January 10, 2010 Posted January 10, 2010 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
_samuel_ Posted January 10, 2010 Author Posted January 10, 2010 Great! I'm glad to learn about that too. Thank you Linndgberg and again, thank you BruceR. I love this forum. Samuel
bruceR Posted January 11, 2010 Posted January 11, 2010 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.
Recommended Posts
This topic is 5433 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now