Setting a file's default table

Discussion created by DanielShanahan on Jun 28, 2012
Latest reply on Jun 30, 2012 by jormond

I would like to get a list of all the field names of a table. The Design Function FieldNames() works but requires all the fields to be on a layout. I'm in a legacy system where several tables have hundreds of fields, not all of them on a layout.


According to the FMP documentation this function takes two parameters: FieldNames ( fileName ; layoutName ). If the first parameter is empty it will use the current file. If the second parameter is empty the function will return a list of all the fields in the "default table".


What is the default table and how is it set?