Created
September 7, 2023 19:11
-
-
Save dickiedyce/6700300e22c3e48d71938a239d94a5e8 to your computer and use it in GitHub Desktop.
Create a Markdown table of fields from base tables in a FileMaker file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Let ( | |
baseTables = "'" & | |
ExecuteSQL ( | |
"SELECT TableName FROM FILEMAKER_TABLES WHERE TableName = BaseTableName" ; | |
"" ; | |
"','" | |
) & "'" ; | |
Substitute ( | |
",TableName,FieldName,FieldType,FieldID,FieldClass,FieldReps,ModCount," & ¶ & | |
",----,----,----,----,----,----,----," & ¶ & | |
ExecuteSQL ( | |
"SELECT '',TableName,FieldName,FieldType,FieldID,FieldClass,FieldReps,ModCount,'' FROM FILEMAKER_FIELDS WHERE TableName IN (" & | |
baseTables & ")" ; | |
"" ; | |
"" | |
) ; | |
"," ; | |
"|" | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment