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

  • Newbies

Hi,

A newbie here to the forum and to filemaker (so if this is in a faq somewhere please just point me in the right direction).

I'm trying to do a scripted export of data into a CSV file, which works fine with the exception of the formatting of a numeric field.

The help file for "export csv" says, "Quotation marks enclose all field values, except unformatted numbers."; but my output file has every field (even numeric ones) in quotes. Under File, Define, Database, the field tab has the variable listed as a number, I don't see a setting for unformatted.

Can anyone help with how to get my number fields to go out in the csv file without the quotes?

Thanks,

Stan.

Well, it seems the Help file is engaging in wishful thinking. I could not get it to drop the quotes either. When I've had to do this, I've used an XML Export, with an XSL stylesheet. It is much like a regular export. Choose FMPXMLRESULT as the Grammer (default). Then click the XSL stylesheet radio button, and go find your XSL file (below). You can script this so it's less tedious. The following will produce a comma-separated file, only text fields have quotes.

The "carriage return" is a line feed, Unicode. I stuck another xsl in there that does PC, with an added return before the line feed.

CSV_Text_wQuotes.zip

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.