Related Information Examples & Tutorials
Want new features? Check out the news on the latest version of Collect! available. Members can download new enhancements FREE! Interested in new features available but not currently on a Membership? Please contact us for pricing. Enhancements may be purchased separately.
“ I find it fun learning new ways to utilize Collect!... a terrific program. ” Corey B.

Wrapping Text In Reports

This document demonstrates a simple command that you may use to wrap text in reports. This may be combined with left and right margin commands to create professionally formatted reports and letters.


The @WRAP function wraps text automatically when a report is printed.


SYNTAX: @WRAP(value)

@WRAP(0) - Word wrapping off

@WRAP(1) - Word wrapping on

DC Printing Sample:

//Set Left and Right margins and wrap text blocks within them.

@no line feed
This is a very long line of text. It can also be several paragraphs. It does not matter how much text you use or how long the paragraph is. Within the line feed commands, the text will wrap.
@line feed

@no line feed
If you want to do several paragraphs within the WRAP command, just make sure you use the line feed commands to begin and end each paragraph.
@line feed


//End Sample

In the code above,

@LM(100) sets the left margin at one inch.

@RM(100) sets the right margin at one inch.

@WRAP(1) turns on word wrapping.

@no line feed turns off the carriage return at the end of each printed line and uses the @WRAP function and the margins to wrap the text.

@line feed ends the block of text.

@WRAP(0) turns off word wrapping.

This is a very simple but effective way to set margins and format text in your reports and letters.

Top of page.

See Also

- Report Writer Topics

Top of page.

Was this page helpful? Do you have any comments on this document? Can we make it better? If so how may we improve this page.

Please click this link to send us your comments:

Collection Advisor Veracode Verified RMA ACA Member