Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

As a filemaker novice I am having great difficulty getting the script correct so that I can send data from my filemaker database as an excel file from the iPad. 

 

My script is as below.  All I want to do is export all the fields as an Excel file from the current record being browsed.  It works fine when I use the "Export Records" script and the user then manually chooses Type:Excel, and the email is created with the excel attachment ready for the user to type in the recipeint email address.

 

Any help on what I am missing would be appreciated.  Using the script below I get everything I need except the attachment is not there. :mad:

 

post-110018-0-36856200-1399112772_thumb.

 

 

This might be the subtle difference FMGo13 has when it comes to READING a file. https://fmhelp.filemaker.com/docs/13/en/fmgo13_development.pdf See top of page 15. You need $path="file:" & Get (TemporaryPath) & $myfilename.ext

 

EDIT: Sorry, just reread your script. Save Records as Excel is NOT supported on FMGo13 (see p. 16 of dev guide. However, you can Export Records in the .xlsx format).

 

At the bottom left of the Edit Script window, select Show Compatibilty: iOS to avoid including unsupported script steps when you're developing for iOS.

  • Author

Thanks bcoony for your help, I should have checked the compatibility first. It seems strange to me that FMGo can export as well as save a .xlsx file but you cannot have a script to put that file into an email and populate the To, subject and message fields automatically. Anyhow, you have shown me how yo do that with a PDF so I am one step firther ahead.

Cheers

FMGO can export an .xlsx but it can not save a copy to .xlsx. You can attach the file and fill out the email with a script in fmgo. Your script didn't work because you used Save Records as Excel instead of Export file type Excel. Your $path doesn't work because you didn't specify the file name. Your $path only specifies what folder the file is in. Without the name of the file, FileMaker has no idea what file to attach to the email.

  • Author

Thanks for help.  I have now got this working and it works a treat.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.