Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I need to take a certain field(upc) from every three records and be able to export each block of three upcs as one record so the export would look like:

line 1: 9999902244951, 987741000523, 982693000010

line 2: 724354004124, 724354004025, 724354003929

line 3: 606949007324, 606949007126, 606949006525

I know this may be done via a portal but how do you export portal data? Any help would be great!

Posted

Create a conditional value list that displays all the values from the portal on each parent record. Then, create the following calculation field:

ValueListItems(Get(FileName); "ValueListName")

This will return the values displayed in the conditional value list as a return-separated list so you can export it.

Posted

I was just showing you how to export portal data as you requested. If you just want all of your records to be exported in pairs of threes, you can start by changing your conditional value list to just a value list that displays all values. I have attached an example that demonstrates the technique. I have not included the last step of exporting so you'll need to add it yourself.

The basic idea behind the script is to move all the values into a new table, placing three record values on each record in the new table. Then, you can easily use the power of export records to handle the rest.

exportbythree.fp7.zip

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