(form "00615" (size 50 16)
  (help "00615_TIP_0")
  (heading "ZONE THICKNESS AND DEPTH")
  (label (position  3  3) (text "Define the string file to create"))
  (label (position  3  4) (text "Location"))
  (label (position  3  5) (text "ID number"))
  (label (position  3  6) (text "String"))
  (label (position  3  7) (text "No zone string"))
  (label (position  3  8) (text "REPORT_FILE_NAME"))
  (label (position  3 11) (text "Which zone selection method"))
  (label (position  3 13) (text "Use true thickness"))
  (label (position  3 15) (text "Required co-ordinate position"))
  (field "string_loc" (position 15  4) (display_length 26) (input allowed)
    (translate lower) (null allowed) (max_length 26)
    (file output (link "file_id") (extension "*.str"))
    (help "00615_TIP_1"))
  (field "file_id" (position 15  5) (display_length 16) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    (help (field "string_loc")))
  (field "zone_str" (position 15  6) (display_length  5) (input allowed)
    (low_bound 1) (high_bound 32000)
    (format integer_4) (null disallowed) (max_length 5) 
    (help "00615_TIP_2"))  
  (field "no_zone_str" (position 15  7) (display_length  5) (input allowed)
    (low_bound 0) (high_bound 32000)
    (format integer_4) (null disallowed) (max_length 5)
    (help "00615_TIP_3"))
  (field "note_file" (position 15  8) (display_length 20) (input allowed)
    (translate lower) (null disallowed) (max_length 26)
    (file output (extension trim "reports|*.not"))
    (help "REPORT_FILE_NAME_TIP"))

  (label (position 3  9) (text "Format"))
  (field "report_format" (position 15 9) (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 "selection" (position 28  11) (display_length 20) (input allowed)
    (value_in "MULTIPLE ZONES" "ZONE FROM TO")
    (default "MULTIPLE ZONES")
    (translate upper) (null disallowed)
    (help "00007_TIP_4"))
  (field "true_thick" (position 22 13) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed)
    (help "00615_TIP_5"))
  (field "outchoice" (position 28 15) (display_length  6) (input allowed)
    (value_in "top" "middle" "bottom")
    (translate lower) (null allowed)
    (help "00615_TIP_6"))
  (default_buttons)
)
