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.

Exporting without Quotation marks

Featured Replies

Hi Guys,

Ive got a table of data which I want to export into a CSV file. When I do the export, filemaker places "" around each of the field values. Is there a simple way of preventing this behaviour?

Many Thanks

Jalz

Without the "" any data that contains a comma will confuse the data. If you really need to remove the "", export as a TAB file and use a script (VBS or apple) to replace the TABs with commas.

I can think of another couple of methods. If you know any XSL you could build an xsl stylesheet to export with only commas (easy), or put quotes around text values, but none around number values. Or you could create an unstored calculation field, which contained all your export fields, putting comma's and quotes (escaped) where needed. Then export as Tabbed Text, only 1 field.

XSL for no quotes, Unix line ending:

Plain.xsl.zip

Edited by Guest

  • 2 weeks later...
  • Author

Thankyou very much Fenton,

This stylesheet removes the quotes. I notice you say unix line ending, can I do this in the export to prevent the deletion of carriage returns that seperate the records.

Well, it is putting the Unix line feed, ASCII 10, after each record. You could put anything you want there. But what? You'd want something to separate the records wouldn't you? CSV files have returns (of some type) between records.

If you want Windows line endings, just add ASCII 13 before the ASCII 10. It's darn hard to show you here, as the PHP parser really tries hard to turn them into returns. (You have to Preview it at least once, and keep pasting in the code ;)-)

Windows line ending:


Edited by Guest

  • Author

Thankyou very much, this works a treat!

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.