(form "10140" (size 54  16)
  (help "10140_TIP_0")
  (heading "CREATE SURVEY STATION STRINGS")
  (label (position  4  3) (text "Define the output file for strings"))
  (label (position  4  4) (text "Location"))
  (label (position  4  5) (text "ID Number"))
  (label (position  4  6) (text "String Number"))
  (label (position  4  7) (text "Only latest date"))
  (field "outloc" (position 18  4) (display_length 32) (input allowed)
    (null disallowed) (max_length 32)
    (file output (link "orid") (extension "*.str"))
    (help "10140_TIP_1"))
  (field "orid" (position 18  5) (display_length 16) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    (help "10140_TIP_2"))
  (field "istrou" (position 18  6) (display_length  5) (input allowed)
    (format integer_4) (null disallowed) (max_length 5)
    (help "10140_TIP_3"))
  (field "latest" (position 18  7) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (default "Y") (translate upper) (null disallowed) (max_length 1)
    (help "FRM10140_LATEST_STRINGFILE_TIP"))
  (label (position  4  9) (text "FRM10140_DEFINE_FIELDS"))
    (scroll_block (position  2  11) (size 20  9)
     (extra  0  1)
     (scroll_size 20 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)
)
