Exporting records using a script from FilemakerGO on an ipad
I am trying to export all records from a layout in Filemaker Go on an ipad, hopefully to an Excel file. Obviously I can do it using the Go menus, however I would prefer to be able to add a button to the layout so the user can click the button and Go goes away in a script to form an email and send the email (assuming access to wifi) with all fields in the layout present in the final file. I am new to scripts and wondering if anyone out there has a way to write this script already that you could share with me? Go usually creates a filename for the Excel file when you export manually and this filename would be fine for the script.
Thanks for any help you can give!