Receipt Template Behaving Oddly

Jan 19, 2007 2 Replies

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


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:

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

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required