Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

How to create temporary field during export


This topic is 5107 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted

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

Posted

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.

Posted

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

This topic is 5107 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.