(form "10141" (size 53  15)
  (help "SRV_PRINT_SURVEY_STATIONS_HELP")
  (heading "PRINT SURVEY STATIONS")
  (label (position  4  3) (text "Define the output file for report"))
  (label (position  4  4) (text "Location"))
  (label (position  4  5) (text "ID Number"))
  (label (position  4  6) (text "Format"))
  (label (position  4  7) (text "Only latest date"))
  (field "outloc" (position 18  4) (display_length 26) (input allowed)
    (null disallowed) (max_length 26)
    (file output (link "orid") (extension trim "*.not,*.csv,*.htm,*.html,*.rtf,*.pdf,*.ps"))
    (help "10141_TIP_1"))
  (field "orid" (position 18  5) (display_length 16) (input allowed)
    (format real_8) (null disallowed) (max_length 16)
    (help "10141_TIP_2"))
  (field "format" (position 18 6) (display_length 32)
    (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")
    (help "The file format nominated here will determine the output"
          "report format and file extension."))
  (field "latest" (position 18  7) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (default "Y") (translate upper) (null disallowed) (max_length 1)
    (help "FRM10141_LATEST_REPORTFILE_TIP"))
 (label (position  2  9) (text "FRM10141_DEFINE_FIELDS"))
 (scroll_block (position  2  10) (size 20 9)
     (extra  0  1)
     (scroll_size 30 100)
     (repeat (grow  0  1) (instances  1 (min  1) (max 100)))
    (main)
    (top
      (label (position  1  0) (text "Field Name"))
      (label (position 12  0) (text "Include")))
    (main
      (field "field_name" (position 1  0) (display_length 8) (input disallowed))
      (field "include_field" (position 12  0) (display_length  1) (input allowed)
        (value_in "Y" "N")
        (default "Y")
        (max_length 1)
        (translate upper) (null allowed)
        (help "SRV_REPORT_THIS_STATION_FIELD_TIP")))
     )
  (default_buttons)
)
