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.

Parsing a csv-file

Featured Replies

Sorry for asking a probably very basic question, but I' didn't find this simple case either in FMPro help or searching the forums.

I'm simply trying to manually parse a csv-file from a number of text, date, time and number fields.

I've tried a number of combinations around the field names, but haven't succeeded to get the "" 's around the values.

GetAsText(DateField1)&","GetAsText(TimeField1)&","GetAsText(NumberField1)&","&TextField1&","&¶

should produce something like (with correct prefixes):D

"1.1.2009","12:30","8.5","Abc"

I've tried to put " and "" (among others) around the field names, but there is always something wrong with the result.

I'd be grateful, if someone could point out what I'm missing here.

JariV

It seems you want to do the exact opposite of parsing, i.e. synthesize a .csv format. I am not sure why you would need to do this yourself, as Filemaker can export as .csv perfectly well.

In any case, you can try something like:


Let ( [

quot = """ ;

sep = quot & "," & quot

] ;

quot & DateField1 & sep & TimeField1 & sep & NumberField1 & sep & Substitute ( TextField1 ; quot ; quot&quot ) & quot

)

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.