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.

text format on export

Featured Replies

  • Newbies

Every time I export text to a csv file some of the text fields appear in all CAPS - I need them in titlecase. In the database they are appear to be correct - I've gone to the trouble of fixing each field with the TextStyleAdd() function.

When the records are imported into the database they are all in CAPS, then changed via the TextStyleAdd() of TextStyleRemove().

Why doesn't it preserve the formatting on the export?

Any ideas?

Hi Weezy,

I think the problem lies in how the data was entered into FileMaker.

Click in the fields of offending records where you see this, and I believe you see that the data will was entered in CAPs. Even though you have the field displaying it differently (possibly), the data is in Caps.

Let us know if this is correct, and we can offer some help in getting the data correct..

HTH

Lee

Edited by Guest

Try using Proper ( field ) instead of TextStyleAdd ( field ; Titlecase ). TextStyleAdd() merely styles the text - this is not preserved when you export plain text. Proper() modifies the actual characters.

  • Author
  • Newbies

Thanks! That fixed it... the proper() function that is.

  • 1 month later...

Hello-

I am having a similar issue with exporting data to excel. My data is Proper, and I would like it to show up as CAPS for this specific export. I didn't understand where you put the Proper ( field name ) function into service. I assume there is a similar function for Caps ( field name ), but I don't know how or where to plug it in. I'm grateful for any insight!

You need to define a calculation field and enter the formula in its formula box. The function to use in this case would be Upper(). Then you export the calculation field instead of the original.

If there are many such fields, you should look into some alternatives, such as post-processing the exported file in a text editor, or formatting in Excel itself.

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.