(form "00003" (size 55 22)
  (heading "DEFINE VOLUME REPORT FORMAT")
  (field "line1" (position 13  4) (display_length 40) (input allowed)
    (null allowed) (max_length 40))
  (field "line2" (position 13  5) (display_length 40) (input allowed)
    (null allowed) (max_length 40))
  (field "line3" (position 13  6) (display_length 40) (input allowed)
    (null allowed) (max_length 40))
  (field "line4" (position 13  7) (display_length 40) (input allowed)
    (null allowed) (max_length 40))

  (scroll_block "assays" (position  1  5) (size 75 10) (extra  0  1)
    (scroll_size 74 9)
    (repeat interactive (grow 0 1) (instances 1 (min 1) (max 50)))
    (main
      (field "assid" (position 3  0) (display_length 15) (input allowed)
        (null allowed) (max_length "APP_MAX_ASSAYNAME_LENGTH"))
      (field "assfld" (position 15  0) (display_length 15) (input allowed)
        (translate upper) (null disallowed) (max_length 4) (default "D1"))
    )
  )

  (field "master" (position 15 20) (display_length  17) (input allowed)
    (null disallowed) (max_length "APP_MAX_ASSAYNAME_LENGTH"))

  (scroll_block "directives" (position  1  5) (size 75 10) (extra  0  1)
    (scroll_size 74 9)
    (repeat interactive (grow 0 1) (instances 1 (min 1) (max 50)))
    (main
      (field "directive" (position 21  3) (display_length  9) (input allowed)
        (value_in "MATERIAL" "BOUNDARY" "SUBTOT" "CUMTOT" "RATIO") (default "MATERIAL")
        (translate upper) (null disallowed) (max_length 9))
      (field "matid" (position 21  5) (display_length 8) (input allowed)
        (null allowed) (max_length 20))
      (field "range" (position 21  6) (display_length 32) (input allowed)
        (translate lower) (null allowed) (max_length 32))
      (field "type" (position 21  8) (display_length  1) (input allowed)
        (value_in "Ore" "Waste" "Void" ) (default "Ore")
        (null disallowed) (max_length 1))
      (field "brkdwn" (position 12  9) (display_length  1) (input allowed)
        (value_in "String" "Segment") (default "String")
        (null disallowed) (max_length 1))
      (field "sg" (position 21 10) (display_length 16) (input allowed)
        (translate upper) (null allowed) (max_length 16))
    )
  )

  (field "matid1" (position 18  2) (display_length 30) (input allowed)
    (max_length 32))

  (scroll_block "classes" (position  1  5) (size 75 10) (extra  0  1)
    (scroll_size 74 9)
    (repeat interactive (grow 0 1) (instances 1 (min 0) (max 50)))
    (main
      (field "className" (position 3  0) (display_length 20) 
        (input allowed) (max_length 20))
      (field "botlim" (position 15  0) (display_length 14) 
        (input allowed) (translate upper) (format real_8) (null disallowed) 
        (max_length 14))
      (field "toplim" (position 25  0) (display_length 14) 
        (input allowed) (translate upper) (format real_8) (null disallowed) 
        (max_length 14))
    )
  )

  (default_buttons)
)
