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

Export records with field names on the top row


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

Recommended Posts

Posted

Hello kfok,

I suggest that you choose the export file format which is named 'Merge' on the format option drop-down list.

The resulting export file will indeed be .csv format with field names in the header row - exactly what you're looking for! wink.gif

Posted

I exported records from both the main file and related file to a merge file and I found that the field name of the related file will be in this format "Relationship:Field name". Is it possible to get rid of the "Relationship:" from the field name?

Posted

Hi,

From the perspective of the file you're exporting from, that *is* the field name, so that's how FileMaker includes it.

One way to get around this is to create appropriately named 'mirror' fields (ie unstored calcs that directly reference the related field) and export from those instead. You'll get the same content in the export file, but a different field name (of your choosing) in the header.

...or alternatively, if you have access to a plug-in such as Troi File from Troi Automatisering or File Toolbox from Waves in Motion, you could simply script the export along with a substitution to remove the relationsh name from the header within a single script pass.

This topic is 7966 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.