May 17, 200619 yr 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!
May 17, 200619 yr 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.
May 17, 200619 yr Author How do I get only 3 records to be displayed in the field? I get every value of every record for the field and all i need is the first 3 then the next 3 and so on untill the records end.
May 17, 200619 yr 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
May 17, 200619 yr Author Perfect! I was so trapped with potal/conditional value lists that I could not see how it could be done any other way. Thanks
Create an account or sign in to comment