Skip to main content

Exporting summarised instances

Good morning,
I have a summarisation report with 54 records each of those has a number of instances that renges from few thousands to more than two millions.
Now, what I need to do is to export each row in a separate csv or txt file that will be sent to the relevant audit unit.
Is there any script that could help me in having typefile needed and automate the export  process? 
Those 54 entities could become more than 100 at the end of the year and I need to automated the process.
Thank you very much for your help.
Vito

Brian Element Wed, 05/27/2020 - 19:18

In reply to by gamze.t

Just saw the possible problem, your then is on a separate line from the if statement, they need to be on the same line.  If should be:

If lRecords <> 0 Then

That should hopefully fix the syntax error.

Brian