(form "20012" (size 66 21)
  (heading "Unable to save to Datamine format")

  (field "calc_implicit" (position 48 3) (display_length 2) (input allowed)
    (translate upper) (max_length 2)
    (value_in "Y" "N")
    (default "Y"))

  (field "mandatory" (position 48 4) (display_length 4) (input disallowed)
    (translate upper) (max_length 16))
 
  (scroll_block "scrollblock" (position  9  6) (size 45 6) (extra  0  1)
    (scroll_size 45 4)
    (repeat (grow 0 0) (instances 1 (min 1) (max 100)))
    (top
      (label (position  2 0) (text "Attribute"))
      (label (position 12 0) (text "Explicit"))
      (label (position 22 0) (text "Implicit"))
      (label (position 32 0) (text "Include?"))
    )
    (main
      (field "attribute" (position  2 0) (display_length 8) (input disallowed)
        (null disallowed) (max_length 16))
      (field "explicit" (position  12 0) (display_length 3) (input disallowed)
        (null allowed) (max_length 16))
      (field "implicit" (position  22 0) (display_length 3) (input disallowed)
        (null allowed) (max_length 16))
      (field "include" (position 48 3) (display_length 2) (input allowed)
        (translate upper) (max_length 2) (value_in "Y" "N") (default "Y"))
    )
  )

  (field "total" (position 48 12) (display_length 4) (input disallowed)
    (translate upper) (max_length 16))
         
  (field "wordCount" (position 48 12) (display_length 4) (input allowed)
    (translate upper) (max_length 16))
         
  (default_buttons)
)
