home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / CONTRIB / MBASE / MBASE50.TAR / mbase / sample / sample.rpt < prev    next >
Encoding:
Text File  |  1992-11-21  |  1.1 KB  |  37 lines

  1. #
  2. # METALBASE 5.0
  3. #
  4. # Released October 1st, 1992 by Huan-Ti [ virtual!root@owlnet.rice.edu ]
  5. #                                       [ t-richj@microsoft.com ]
  6. #
  7.  
  8. Data sample;
  9.  
  10. Size
  11.    Rows       23;  # Make the report screen-size (default is page-size)
  12.    Top Margin  0;  #
  13.    Bottom      0;  # And get rid of most margins.  This _is_ going to a screen,
  14.    Left        4;  # most likely.  :)
  15.    Right       8;
  16.  
  17. Footer Keep
  18.    print centered  : "-continued-";
  19. Last
  20.    print centered  : "-end of report-";
  21.  
  22. Header
  23.    print centered  : system;
  24.    print continued : system!date, system!time format 1;
  25.    print right     : "Page", system!page;
  26.    skip 1 line;
  27.    print continued : "Customer Name" to 23, "Number" to 30, "Balance";
  28.    print           : column 40, "Date Entered", column 60, "Credit";
  29.    print continued : "-------------" to 23, "------" to 30, "-------";
  30.    print           : column 40, "------------", column 60, "------";
  31.  
  32. On ix_name
  33.    print continued : custname to 25, custnum to 30, balance using "$%7.2f";
  34.    print continued : column 40, date_en, time_en format 1, column 63, credit;
  35.    print : phone;
  36.  
  37.