Printing

  • Thread starter Thread starter Stephen Martinelli
  • Start date Start date
S

Stephen Martinelli

Hello all

How can i right justify numeric field on a report. Currently, all my numbers
are left justified and i cant figure out how to change them to right.

Thanks
steve
 
Stephen Martinelli said:
How can i right justify numeric field on a report. Currently, all my
numbers are left justified and i cant figure out how to change them
to right.

Do you use the Printdocument or Crystal Reports?
Printdocument: Calculate X-position by subtracting the width of the text
from the right border to allign the text to. You get the width by calling
the Measurestring method of the graphics object that is also used to print
the text.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
Back
Top