home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Database / CLIPR503.W96 / FRMDEF.C_ / FRMDEF.C
Text File  |  1995-06-20  |  2KB  |  53 lines

  1. /***
  2. *
  3. *  Frmdef.ch
  4. *
  5. *  Clipper REPORT FORM system definitions
  6. *
  7. *  Copyright (c) 1990-1993, Computer Associates International, Inc.
  8. *  All rights reserved.
  9. *
  10. */
  11.  
  12. // Report array definitions
  13. #define RP_HEADER   1       // Array of header strings
  14. #define RP_WIDTH    2       // Numeric, report page width
  15. #define RP_LMARGIN  3       // Numeric, report page offset
  16. #define RP_RMARGIN  4       // NIL, Not used
  17. #define RP_LINES    5       // Numeric, number of lines per page
  18. #define RP_SPACING  6       // Numeric, single=1, double=2
  19. #define RP_BEJECT   7       // Logical, eject before 1st page, .T.=Yes .F.=No
  20. #define RP_AEJECT   8       // Logical, eject after last page, .T.=Yes .F.=No
  21. #define RP_PLAIN    9       // Logical, plain report, .T.=Yes .F.=No
  22. #define RP_SUMMARY  10      // Logical, no detail lines, .T.=Yes .F.=No
  23. #define RP_COLUMNS  11      // Array of Column arrays
  24. #define RP_GROUPS   12      // Array of Group arrays
  25. #define RP_HEADING  13      // Character, heading for the report
  26.  
  27. #define RP_COUNT    13      // Number of elements in the Report array
  28.  
  29.  
  30. // Column array definitions ( one array per column definition )
  31. #define RC_EXP      1       // Block, contains compiled column expression
  32. #define RC_TEXT     2       // Character, contains text column expression
  33. #define RC_TYPE     3       // Character, type of expression
  34. #define RC_HEADER   4       // Array of column heading strings
  35. #define RC_WIDTH    5       // Numeric, column width including decimals and
  36.                             // decimal point
  37. #define RC_DECIMALS 6       // Numeric, number of decimal places
  38. #define RC_TOTAL    7       // Logical, total this column, .T.=Yes .F.=No
  39. #define RC_PICT     8       // Character, picture string
  40.  
  41. #define RC_COUNT    8       // Number of elements in the Column array
  42.  
  43.  
  44. // Group array definitions ( one array per group definition )
  45. #define RG_EXP      1       // Block, contains compiled group expression
  46. #define RG_TEXT     2       // Character, contains text group expression
  47. #define RG_TYPE     3       // Character, type of expression
  48. #define RG_HEADER   4       // Character, column heading string
  49. #define RG_AEJECT   5       // Logical, eject after group, .T.=Yes .F.=No
  50.  
  51. #define RG_COUNT    5       // Number of elements in the Group array
  52.  
  53.