Receipt Template Behaving Oddly

If this line of code: Entry.Quantity "|" Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.Price "|" Entry.ExtendedPrice "|" Entry.SalesRep.Number

Generates a receipt that includes any item comment and even wraps the comment to multiple lines if necessary, then why do these two lines of code: Entry.Quantity "|" Entry.Item.ItemLookupCode "|" Entry.Price "|" Entry.ExtendedPrice "|" Entry.SalesRep.Number "|" Entry.Description "|||"

Generate a receipt that doesn't print the item comment at all.

What's worse, if I add this:

Len(Entry.Comment) "|" Entry.Comment "|||"

The item comment prints but now it doesn't wrap within the column.

Thanks, Tom

Reply to
Terrible Tom
Loading thread data ...

Probably because the COLUMNHEADER is set to Truncate the second field, but not the third... This change will probably prevent the truncation: "||" Entry.Description "||"

The "~" in the Alignment string of the COLUMNHEADER indicates that the text should be truncated to keep the row on a single line.

Glenn Adams Tiber Creek C> If this line of code:

Reply to
Glenn Adams [MVP - Retail Mgmt]

Thank you kind sir. I had already checked that but apparently missed it.

You know how it is after staing at the same segment of code for too long trying to figure out what's wrong - it all starts to look the same...

Thanks again. My new & improved receipt looks better than ever.

Tom

Reply to
Terrible Tom

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.