JariV Posted August 11, 2009 Posted August 11, 2009 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) "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
comment Posted August 11, 2009 Posted August 11, 2009 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 )
Recommended Posts
This topic is 5642 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now