home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / clipper / dbr11.zip / TEST3.FMT < prev    next >
Text File  |  1993-07-27  |  2KB  |  68 lines

  1. *
  2. .Fields
  3. Name         01
  4. Street       02
  5. City         03
  6. Province     04
  7. Country      05
  8. PostalCode   06
  9. Description  07
  10. Quantity     08
  11. Price        09
  12. *
  13. .Variables
  14. ItemTotal   := Quantity * Price
  15. SubTotal    := SubTotal + ItemTotal
  16. PSTax       := SubTotal * 0.08
  17. GSTax       := SubTotal * 0.07
  18. Total       := SubTotal + PSTax + GSTax
  19. ItemNum     := TALLY
  20. *
  21. .VariableClear
  22. SubTotal 01
  23. ItemNum  01
  24. *
  25. .Defaults
  26. PageWidth        132
  27. *
  28. .Flags
  29. Round .t.
  30. *
  31. .Group 01
  32. Name
  33. .PageHeader
  34.  
  35.                                                             Page: ^#
  36.                                                             Date: ^D
  37. .GroupHeader 01
  38.  
  39.                            The Hardware Store
  40.                            4353 Somewhere St.
  41.                             Springfield, NE
  42.                                 L9E 4Y2
  43.                              (375) 555-1234
  44.  
  45. Bill To:
  46.   ^F1<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  47.   ^F2<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  48.   ^F3<<<<<<<<<<<<<<<<<<< ^F4<<<<<<<<<
  49.   ^F5<<<<<<<<<<   ^F6<<<<<<<<<
  50.  
  51.  Description                                   Qty    $/Unit     Item Total
  52.  -------------------------------------------   ----   --------   -----------
  53. *
  54. .ReportBody
  55.  ^F7<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<   ^F8<   ^F9$$.$$   ^V1$$$$$.$$
  56. .GroupFooter 01
  57.                                                                  -----------
  58.                                                    SubTotal      ^V2$$$$$.$$
  59.                                                    PST  8%       ^V3$$$$$.$$
  60.                                                    GST  7%       ^V4$$$$$.$$
  61.                                                                  -----------
  62.                                                    Total         ^V5$$$$$.$$
  63.                                                                  ===========
  64. ^P
  65. .PageFooter
  66.  
  67.  
  68.