home *** CD-ROM | disk | FTP | other *** search
/ TestDrive Super Store 2.3 / TESTDRIVE_2.ISO / jetform / data / ex_m_13.dat < prev    next >
Encoding:
Text File  |  1994-02-01  |  4.8 KB  |  101 lines

  1. ^COMMENT EX_M_13
  2. ^COMMENT
  3. ^COMMENT This data file contains the record descriptors that define to Merge
  4. ^COMMENT the structure of different incoming flat ASCII file records.
  5. ^COMMENT This example uses 'keyed' record structures which means when
  6. ^COMMENT Merge is in RECORD MODE it will analyze the record just read
  7. ^COMMENT and will determine which descriptor applies based on the data
  8. ^COMMENT value of the key in the incoming record.
  9. ^COMMENT
  10. ^COMMENT Once Merge determines which descriptor applies - Merge parses
  11. ^COMMENT each field value out of the record buffer and Merge internally
  12. ^COMMENT issues "Field" statements. It is essential that the field names
  13. ^COMMENT used in the descriptor match the field names designed into the form
  14. ^COMMENT at form design time. Field names found in the record descriptor
  15. ^COMMENT that do not appear on the currently active page/subform will be
  16. ^COMMENT ignored (data will not print) - as is the case with fields called -
  17. ^COMMENT A_EMP , B_EMP , C_EMP , D_EMP in this example.
  18. ^COMMENT
  19. ^COMMENT Note -> field names in the descriptor records that are prefixed
  20. ^COMMENT with an "*" will be treated as GLOBAL fields by Merge. In this 
  21. ^COMMENT example - global fields include name, address, reference number,
  22. ^COMMENT reference date, start date, stop date. The field values are supplied
  23. ^COMMENT once but the fields are populated in both locations on the form
  24. ^COMMENT where they appear and on subsequent pages as this example
  25. ^COMMENT spills over to a second page (as described in the text
  26. ^COMMENT portion below - type C records).
  27. ^COMMENT
  28. ^COMMENT FlatFile schema definition for JfMerge for file 'EX_M_1.MDF'.
  29. ^RECORD  EX_M_1_A
  30. ^CONTINUE                A_REC   1
  31. ^CONTINUE                A_EMP   8
  32. ^CONTINUE             *B2_NAME  30
  33. ^CONTINUE            *ADDRESS1  30
  34. ^CONTINUE            *ADDRESS2  30
  35. ^CONTINUE            *ADDRESS3  30
  36. ^CONTINUE            *ADDRESS4  30
  37. ^CONTINUE            *ADDRESS5  30
  38. ^CONTINUE           *REFERENCE  30
  39. ^KEY                     A_REC   A
  40. ^RECORD  EX_M_1_B
  41. ^CONTINUE                B_REC   1
  42. ^CONTINUE                B_EMP   8
  43. ^CONTINUE                START   8
  44. ^CONTINUE                 STOP   8
  45. ^CONTINUE             B3_C1_R1   8
  46. ^CONTINUE             B3_C2_R1   8
  47. ^CONTINUE             B3_C3_R1   8
  48. ^CONTINUE             B3_C1_R2   8
  49. ^CONTINUE             B3_C2_R2   8
  50. ^CONTINUE             B3_C3_R2   8
  51. ^CONTINUE             B3_C1_R3   8
  52. ^CONTINUE             B3_C2_R3   8
  53. ^CONTINUE             B3_C3_R3   8
  54. ^CONTINUE             B3_C1_R4   8
  55. ^CONTINUE             B3_C2_R4   8
  56. ^CONTINUE             B3_C3_R4   8
  57. ^CONTINUE             B3_C1_R5   8
  58. ^CONTINUE             B3_C2_R5   8
  59. ^CONTINUE             B3_C3_R5   8
  60. ^CONTINUE             B3_C1_R6   8
  61. ^CONTINUE             B3_C2_R6   8
  62. ^CONTINUE             B3_C3_R6   8
  63. ^CONTINUE             B3_C1_R7   8
  64. ^CONTINUE             B3_C2_R7   8
  65. ^CONTINUE             B3_C3_R7   8
  66. ^CONTINUE             B3_C1_R8   8
  67. ^CONTINUE             B3_C2_R8   8
  68. ^CONTINUE             B3_C3_R8   8
  69. ^CONTINUE             B3_C1_R9   8
  70. ^CONTINUE             B3_C2_R9   8
  71. ^CONTINUE             B3_C3_R9   8
  72. ^KEY                     B_REC   B
  73. ^RECORD  EX_M_1_C
  74. ^CONTINUE                C_REC   1
  75. ^CONTINUE                C_EMP   8
  76. ^CONTINUE            B4_TEXT_1  66
  77. ^KEY                     C_REC   C
  78. ^RECORD  EX_M_1_D
  79. ^CONTINUE                D_REC   1
  80. ^CONTINUE                D_EMP   8
  81. ^CONTINUE             *B4_DATE   8
  82. ^CONTINUE             *B4_NEXT   8
  83. ^CONTINUE            *B4_VALUE  11
  84. ^CONTINUE              B4_PREV  30
  85. ^KEY                     D_REC   D
  86. AEMP-1234Tom Hicks                     560 Rochester St. Suite 400   Ottawa, Ontario               Canada K1S 5K2                                                                            EX_M_13.DAT   
  87. BEMP-123401/11/9230/11/92    1.00    2.00    3.00    4.00    5.00    6.00    7.00    8.00    9.00   10.00   11.00   12.00   13.00   14.00   15.00   16.00   17.00   18.00   19.00   20.00   21.00   22.00   23.00   24.00   25.00   26.00   27.00
  88. DEMP-123401/11/9201/12/92  12,340.00Prev Ref EMP-0012
  89. CEMP-1234This is a long text field that is presented to Merge 1 line at a
  90. CEMP-1234time. The area in the form has 1 field of 10 line by 66 characters
  91. CEMP-1234overlaid by 10 fields of 1 line by 66 characters. The multi line
  92. CEMP-1234field is used by FillerG for online data capture. The many single
  93. CEMP-1234line fields are used by Merge for record mode data since record
  94. CEMP-1234mode cannot support multi line fields.
  95. CEMP-1234 
  96. CEMP-1234Merge in record mode also counts the number of occurances of a
  97. CEMP-1234particular record name and compares that number to the number of
  98. CEMP-1234times the FIRST field named in the structure appears on the
  99. CEMP-1234page. This comparison will enable Merge to determine if the page
  100. CEMP-1234is full.
  101.