![Filemaker pro 16 copy all fields from one table to another](https://cdn1.cdnme.se/5447227/9-3/14_64e61dfbddf2b36505b4c7c8.png)
something like thisįieldComment ( Get ( FileName ) GetFieldName ( tableName::fieldName ) ) You could combine these so that you could query the FileMaker_Tables and then the FileMaker_Fields for each table, and build up a list of fields to pass to the FieldComment function, e.g. The FileMaker_Fields virtual table doesn't return the value for the Field Comment unfortunately - you still have to use the FieldComment function to retrieve this. For repeating fields you will get details like this:Ĭontacts,Address,varchar,66,Normal,20,2
![filemaker pro 16 copy all fields from one table to another filemaker pro 16 copy all fields from one table to another](http://photos1.blogger.com/x/blogger/3402/1340/400/477053/urlremoval_blogpost1.png)
It will return additional information about the fields, not just the field name like the above custom function. Is it possible to add the FieldComment functionality into this function?ĮxecuteSQL ( "SELECT * FROM FileMaker_Fields" "" "" ) Hey I never use them personally but does anyone have a solution that lists each repetition of repeating fields too? Returns a sorted list of all Field Names for specified Table Occurrence in the current FileMaker Pro v12 file (Table Occurrence can reference external files). © 2012 Andrew Duncan, Databuzz, Sydney, AustraliaĮxecuteSQL ( "SELECT FieldName FROM FileMaker_Fields WHERE TableName='" & TableOccurrenceName & "' ORDER BY FieldName" "" "" ) Click to copy
![filemaker pro 16 copy all fields from one table to another filemaker pro 16 copy all fields from one table to another](http://dl2.joxi.net/drive/2016/05/03/0001/3599/114191/91/4fed492122.png)
VERSION: 1.0v1 - for FileMaker Pro v12 Filed Names are returned in alphabetical order NOTES: Returns a sorted list of all Field Names for specified Table Occurrence in the current FileMaker Pro v12 file (Table Occurrence can reference external files) Function definition: (Copy & paste into FileMaker's Edit Custom Function window) // SYNTAX: ListFieldsFromTable (TableOccurrenceName)
![Filemaker pro 16 copy all fields from one table to another](https://cdn1.cdnme.se/5447227/9-3/14_64e61dfbddf2b36505b4c7c8.png)