Both. Some fields come from related tables and some do not. Also, what looks like a single tab control actually has tabs that function as buttons to take the user to different layouts with a similar tab control instead of to different tabs within the same control.
Enter layout mode and turn off Sample data in the View | Show menu. Related fields start with :: local fields do not. Double click fields to see the name of the table occurrence box in Manage | Database | Relationships to which they refer. If you click a file tab while in layout mode and nothing changes, it's a button, not a real file tab. A real file tab will switch to the selected tab.
Thanks. I wanted to incorporate some of those features into my own database but didn't knwow how to tease it apart and copy it over. Also I wish filemaker had some "how-to" help section for the e-mail campaign solution.
Scripts can be imported. Layout objects can be copied and pasted while in layout mode, but the results may not be very useful to you. Both scripts and layouts include specific references to layouts and/or the table occurrences from Manage | Database | Relationships. When you pull these items into your file, the difference in layout, script and table occurrence names will 'break' many elements which then have to be updated to fix the problem after you have imported or pasted them into your file.