How do I create a report that lists LayoutObjectNames?
Not sure what you mean -- looks like you've already found the function.
I’m using the “Invoices” starter solution. When I look at the script for Selecting a Company, one of the “Set Field” areas lists the object name as “2” I don’t know what that means. How do I used the LayoutObjectName function to get a list of the object names and what they refer to. I’m fairly new to Filemaker so I may ask some very stupid questions.
Object names can be set on the Inspector, position tab.
If you're having trouble finding a particular object, you my want to look at GetLayoutObjectAttribute, with the "bounds" object, so you can get x, y coordinates of where it is on the layout.
I checked out Invoices in FileMaker Pro Advanced with the script debugger. It appears you're talking about the script "Popover | Affect Customer [Get Script Parameter]" and when it gets to that Go to Object step, it throws an error and says there's no object named "2" on the layout. Unfortunately the scripts in that solution have no comments so we may never know what the developer intended.
Thanks for the info. At least I feel better about not being able to find it.
Strongly recommend you have a look at Xray Specs which is now free at WorkflowData.com | fmXRaySpecs | Columbus Ohio | Specializing in Technology-based Services filemaker applescript data im…
Great layout analysis tool
You need Advanced version of FileMaker to make Database Design Report.
There is LayoutObjectNames(fileName;layoutName) function to get object names in a layout.
You can use "" for current file.
LayoutObjectNames ( "" ; Get(LayoutName) )
Retrieving data ...