(form "20081" (size 70 16) 
  (heading "NEAREST NEIGHBOUR SEARCH PARAMETERS")

  (field "majordist" (position 33  5) (display_length 10) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16) 
    )
  (field "vertdist" (position 33  6) (display_length 10) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16) 
    )
  (field "majorbrg" (position 26  9) (display_length  6) (input allowed)
    (low_bound 0) (high_bound 360)
    (translate upper) (format real_8) (null disallowed) (max_length 6)
    (default "0")
    )
  (field "dip" (position 26  10) (display_length  6) (input allowed)
    (low_bound -90) (high_bound 90)
    (translate upper) (format real_8) (null disallowed) (max_length 6)
    (default "0")
    (help (field "majorbrg")))
  (field "tilt" (position 26  11) (display_length  6) (input allowed)
    (low_bound -90) (high_bound 90)
    (translate upper) (format real_8) (null disallowed) (max_length 6)
    (default "0")
    (help (field "majorbrg")))
  (field "semimajfact" (position 57  10) (display_length  5) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 5)
     (default "1")
    (help (field "majorbrg")))
  (field "minorfact" (position 57 11) (display_length  5) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 5)
     (default "1")
    (help (field "majorbrg")))
  (field "outfile" (position 17 13) (display_length  10) (input allowed)
    (translate lower) (null allowed) (max_length 26)
    (file (extension trim "reports|*.not"))
    (help "REPORT_FILE_NAME_TIP"))
  (field "report_format" (position 17 14) (display_length 16)
    (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 "constrain" (position 59 13) (display_length  1) (input allowed)
    (value_in "Y" "N")           
    (default "N")
    (translate upper) (null allowed) (max_length 1))

  (field "rotationTypes" (position  15  0) (display_length  20) (max_length 25)
      (input allowed) (null allowed)
  )  

  (field "first_axis_rotation" (position 17  3) (display_length  10) (input allowed)
      (translate upper) (null allowed) (max_length 9))

  (field "sec_axis_rotation" (position 17  3) (display_length  10) (input allowed)
    (translate upper) (null allowed) (max_length 9))

  (field "third_axis_rotation" (position 17  3) (display_length  10) (input allowed)
    (translate upper) (null allowed) (max_length 9))

  (field "sec_axis" (position 17  3) (display_length  10) (input allowed)
    (translate upper) (null allowed) (max_length 9))
  (field "third_axis" (position 17  3) (display_length  10) (input allowed)
    (translate upper) (null allowed) (max_length 9))
  (default_buttons)
)
