September 17, 200421 yr What I am tring to do is to take an order database and export it in csv or tab format and then attach it to an email and send it. This process has to be automated. I have everything working except I need to have each item ordered on its own line. The database is attached to this post. Each record is a persons order. Each record has 40 fields 20 quanty ordered and 20 sku. Some people have ordered one item some 20 items. I have built a merge field to bring quantity and sku together, but I need some way to export each single order as follows: "1 097360809848,, " "1 043396016125,, " "1 012236115816,, " "1 794043465727,, " "1 717951002105,, " "1 030306757391,, " "1 786936216790,, " "1 043396010222,, " "1 026359189722,, " "1 025192068829,, " "1 720917534923,, " instead what I have is: "1 043396504295 1 85391241423 1 97360230741 1 43396504295 1 85391241423 1 97360230741 1 85393300821 1 433965042951 85391241423 1 97360230741 1 85393300821 1 43396504295 1 85391241423 1 97360230741 1 85393300821 1 85393300821 1 43396504295 1 85391241423 1 97360230741 1 85393300821 " "1 097360809848 " "1 043396016125 " "1 012236115816 " "1 794043465727 " "1 717951002105 " "1 030306757391 " "1 786936216790 " How can I get each single item on its own line? order_problem.fp5.zip
September 17, 200421 yr Author Got it. I created the new records using a loop in FMP. Thanks to all who read and also thanks to: http://www.fmforums.com/threads/showflat...SID=#Post124179
Create an account or sign in to comment