Skip 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.

export records not working with file extension

Featured Replies

Hi all,

Please help! I'm going la la here trying to sort out how to export or save records as an excel file (neither way works).

I have created a script that should automatically find a bunch of records, and then export specific fields into an Excel spreadsheet that i can email out. Using 'Set Variable' commands it saves the resulting file to the desktop with the name of a field in the database. That way I can loop through the database and create different filenames for each record.

Works brillantly - except for one thing! The 'save as excel' and the 'export records' script step both fail to put on the file extension for Excel, namely .xls. The people at the other end receiving this automatic email aren't that clever and I can't rely on them being able to rename the file to xxx.xls.

I've tried adding & ".xls" to set variable script and tried making a new filename variable that sets the name to xxx & ".xls" but both methods produce errors. I've attached a pdf of the script as whole solution far too big to post.

Can anyone help?

thanks heaps

dave

export_script.pdf

  • Author

thanks to those that looked but i figured it out in the end.

I added additional words to the set variable by using set variable[$filepath; Value:Get (DesktopPath ) & fieldname & "_morewords.xls"

interestingly it would not work if I just tried adding ".xls" to the end.

just thought I would share with you all.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.