Home » Categories » Solutions by Business Process » Profiler

User-Defined Reports - Output to CSV

Datafile Software

User-Defined Reports – Output to CSV

A common use for User-Defined Reports (UDR) is to create a formatted CSV file to output records from a database (say a BACS payment list from the purchase transaction file).

When creating a CSV from a UDR definition then each row on the report creates a row on the CSV file.When outputting large data items then the maximum width of 256 characters per row can be insufficient.

This new option allows for the insertion of a special character at the end of the row which, at run-time, is interpreted to suppress the new row creation and continue with the next row of report items on the save CSV record.

Installation

If the report is configured for CSV output within the ‘Report / W.P. Disk Tools’ parameters, and configured for the new font designer, then within the data item category ‘Report Constants’ is a new option for ‘Line Continuation Marker’.

This item should be added as the last item on any one line of the UDR.

Notes

If the report is printed then this character is ignored.

This option cannot be used over a control block – on change of control block (say $HEADER to $RECORD) a new row is always inserted on the CSV.

Custom Fields
  • Release ID: 5.8
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Copy & Move Menu Options
Viewed 1250 times since Wed, Jun 13, 2012
EDI Message Header File
Viewed 1332 times since Thu, Jul 5, 2012
L6 - Analysis, Totals Only Report
Viewed 1264 times since Thu, Jun 28, 2012
User Defined Reports – Rotate Print Items
Viewed 852 times since Wed, Jun 13, 2012
Copy Items Back to Lookup File (9902)
Viewed 1245 times since Fri, Jun 29, 2012
User-Defined Reports - Default Printer Settings
Viewed 1321 times since Mon, Jun 11, 2012
Print Database Definition
Viewed 1411 times since Fri, Jun 29, 2012
Data Interchange Omit First Row from Import
Viewed 1700 times since Fri, May 27, 2016
Z – System Status
Viewed 688 times since Fri, Jun 29, 2012
Disk Utilities
Viewed 1237 times since Thu, Jun 28, 2012