AnsweredAssumed Answered

Is there a way to perform a scripted export, without dialog, using pre-set fields?

Question asked by DonColacino on Sep 12, 2016
Latest reply on Sep 12, 2016 by philmodjunk

I have an export script that

     1. selects a layout, then

     2. performs a find to select the records to export, and

     3. exports the records in Filemaker format without a dialog.


I run the script looping through all tables in my database and the layout name is specified by a formula so that I can repeat the same routine for each table.  I want to export all fields in the named layouts but the field lists exported from those layouts can unintentionally change, perhaps if the layout has been used for another purpose before the script is run.  Yet I cannot find a way to specify the field lists and prevent them from changing the next time I run the script.  Am I missing something? Is this an oversight in the design of the Export Records command, or an intentional limitation with a workaround that I'm missing?  Any help would be appreciated.