Results 1 to 2 of 2

Thread: How to put Zero under Zero in a invoice

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    3

    How to put Zero under Zero in a invoice

    Hi

    I am developing an accounting application. I am printing an invoice and I need some help in that please.

    When user click on print button then the data is sent to database and also to a text file and notepad is opened on the screen and user can prin the invoice by clicking on File>Print.

    But I have a problem in formatting Zero when there are big and small items in invoice example

    1 Choclates 20 5 100.00
    2 Corn Flakes 30 7 210.00
    3 Brad 40 2 80.00

    -----------------------------------------------
    Net 390.00
    Vat 50.00
    -----------------------------------------------
    Gross 440.00

    and at the end when doing total same problem is there can you please tell me how to adjust strings so that Zero is under zero no matter what is size of name of item.


    looking forward to get any help.

  2. #2
    Lively Member
    Join Date
    Mar 2006
    Posts
    94

    Re: How to put Zero under Zero in a invoice

    Quote Originally Posted by CoolCoder
    Hi

    I am developing an accounting application. I am printing an invoice and I need some help in that please.

    When user click on print button then the data is sent to database and also to a text file and notepad is opened on the screen and user can prin the invoice by clicking on File>Print.

    But I have a problem in formatting Zero when there are big and small items in invoice example

    1 Choclates 20 5 100.00
    2 Corn Flakes 30 7 210.00
    3 Brad 40 2 80.00

    -----------------------------------------------
    Net 390.00
    Vat 50.00
    -----------------------------------------------
    Gross 440.00

    and at the end when doing total same problem is there can you please tell me how to adjust strings so that Zero is under zero no matter what is size of name of item.


    looking forward to get any help.
    Easiest way is to use a fixed-width font such as System and then use tabs to separate the columns.

    hth
    Energy can be neither created not destroyed. It can only be wasted.

    Red Green

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width