(form "12016" (size 43 20)
  (help "12016_TIP_0")
  (heading "Drill hole log report")
  (field "loc" (position 11  4) (display_length 26) (input allowed)
    (translate lower) (null disallowed) (max_length 26)
    (file output (extension trim "reports|*.not"))
    (help "12016_TIP_1"))
  (label (position  2 5) (text "Format"))
  (field "report_format" (position 11 5) (display_length 21)
    (input allowed) (null disallowed)
    (value_in ".not - Surpac Note File"
              ".csv - Comma Separated (Spreadsheet)"
              ".htm - Hypertext Markup Language (Web)"
              ".html - Hypertext Markup Language (Web)"
              ".rtf - Rich Text Format (Microsoft Word)"
              ".pdf - Adobe Acrobat"
              ".ps - Postscript"
              ".log - Surpac log file"))
  (field "samp_table" (position 10  8) (display_length 10) (input allowed)
    (max_length 18)
    (null allowed)
    (help "12016_TIP_3"))
  (field "combine_samp" (position 26  8) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    (help "12016_TIP_4"))
  (field "geo_table" (position 10  9) (display_length 10) (input allowed)
    (max_length 18)
    (null allowed)
    (help "12016_TIP_5"))
  (field "combine_geo" (position 26  9) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    (help "12016_TIP_6"))
  (scroll_block "collar_fields" (position  3 13) (size 22  5)
     (extra  0  1)
     (scroll_size 22 20)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 20)))
    (main)
    (top
      (label (position  1  0) (text "Field name")))
    (main
      (field "field" (position  1  0) (display_length 18) (input allowed)
        (null allowed) (max_length 18)
        (help "12016_TIP_7")))
  )

  (default_buttons)
)
