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.

How to create temporary field during export

Featured Replies

Hello

Is it possible to create, what I will call, a "temporary" field during export.

For example, I have a field A which contains numbers and text, let say record 1 contains "980 blabla".

When I export this field in a tab separated file, I want this field exploded into two other fields, one containing the number and the other containing the text.

I don't like to create another field in the database, because I don't need it. This is only needed during export.

Thank you, Toni

Temporary fields cannot be made. If it's needed during export then it's needed in the database.

It is possible, if you export as XML and use a custom XSLT stylesheet to do the manipulation during the export AND format the result as tab-separated. However, if you are not familiar with XML/XSLT, it might be easier to parse the data using Filemaker calculation fields.

I would also suggest you attack this problem at its source. It is very easy to put data together; it is not so easy to pull it apart. Why not enter the data into separate fields to begin with?

If it's needed during export then it's needed in the database.

I am afraid I must disagree with you there. Quite often, data needs to be manipulated for export in a way that has nothing to do with the internal purposes and functionality of the solution. This is especially true for various reports mandated by government. My policy is to farm out all such processing to XSLT.

  • Author

Well, as you said, I am not familiar with XML and XSLT. If it is an easy step I could go for that and learn some basics.

As for the creation of a separated field, I have already done that. I just don't want another field for sth that is used only for export reasons.

What could be the best way to use XML and XSLT?

Thank you, Toni

There's no way I could answer such a wide question in the confines of a forum message. Perhaps this brief introduction to the subject can get you started:

http://my.advisor.com/doc/12009

There are also a few examples that come with the application - and many more in these forums.

  • Author

That should be a good start. Thanks again for your posts.

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.