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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top