(form "00319" (size 55 16)
  (help "00319_TIP_0")
  (heading "DRILL HOLE LISTING")
  (label (position  2  3) (text "Define the note file for the report"))
  (label (position  2  4) (text "REPORT_FILE_NAME"))
  (label (position  3  6) (text "Define the COLLAR fields"))
  (label (position 32  6) (text "Define the tables"))
  (field "reploc" (position 11  4) (display_length 26) (input allowed)
    (translate lower) (null disallowed) (max_length 26)
    (file output (extension trim "reports|*.not")))

  (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"))
  (scroll_block "collar_fields" (position  3  8) (size 17  6)
     (extra  0  1)
     (scroll_size 17 60)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 60)))
    (main)
    (top
      (label (position  1  0) (text "Field name")))
    (main
      (field "collar_field" (position  1  0) (display_length 10) (input allowed)
        (max_length 18)
        (null allowed)))
  )

  (scroll_block "optional_tables" (position 32  8) (size 17  6)
     (extra  0  1)
     (scroll_size 17 20)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 50)))
    (main)
    (top
      (label (position  1  0) (text "Table name")))
    (main
      (field "table_name" (position  1  0) (display_length 10) (input allowed)
        (max_length 18)
        (null allowed)))
  )

  (default_buttons)
)
