(form "10120" (size 65 15)
  (help "FORM_10120_HELP")
  (heading "Traverse Report Details")
  (label (position 2  3) (text "level_area for new stations"))
  (label (position  2  6) (text "Details for Traverse Report"))
  (label (position  2  7) (text "Calculated by"))
  (label (position  2  8) (text "Checked by"))
  (label (position  2  9) (text "Survey date"))
  (label (position 34  7) (text "Fieldbook"))
  (label (position 34  8) (text "Pages"))
  (label (position  2 10) (text "Define the Traverse Report File"))
  (label (position  2 11) (text "Location"))
  (label (position  2 12) (text "ID Number"))
  (field "level_area" (position 29  3) (display_length 16) (input allowed)
    (translate upper) (null disallowed) (max_length 16)
    (help "FORM_10120_LEVEL_AREA_TIP"))
  (field "calculated_by" (position 14  7) (display_length 16) (input allowed)
    (null allowed) (max_length 16)
    (help "FORM_10120_CALC_BY_TIP"))
  (field "checked_by" (position 14  8) (display_length 16) (input allowed)
    (null allowed) (max_length 16)
    (help "FORM_10120_CHECK_BY_TIP"))
  (field "survey_date" (position 14  9) (display_length 16) (input allowed)
    (null allowed) (format datetime) (max_length 23)
    (help "FORM_10120_DATE_TIP"))
  (field "field_book" (position 45  7) (display_length 16) (input allowed)
    (null allowed) (max_length 16)
    (help "FORM_10120_BOOK_TIP"))
  (field "pages" (position 45  8) (display_length 16) (input allowed)
    (null allowed) (max_length 16)
    (help "FORM_10120_PAGES_TIP"))
 
     (field "fname" 
      (position 6 8) 
      (display_length 20) 
      (input allowed)
      (null allowed)
      (translate lower) 
      (max_length "FIO_MAX_FILENAME_LENGTH")
      (file (extension trim "*.not,*.csv,*.htm,*.html,*.rtf,*.pdf,*.ps"))
      (help "The file nominated here will contain the output report data.")
     )
 
    (label(position 2 5)(text "Output Report File Format"))
    (field "report_format" 
      (position 20 5) 
      (display_length 20) 
      (input allowed)
      (null disallowed)
      (max_length 50)
      (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")
      (help "The file format nominated here will be the output report format.")
    )
   (default_buttons)
)
