(form "00466" (size 51  9)
  (heading "OBJECT REPORT")
  (label (position  2  3) (text "Layer name"))
  (label (position  2  5) (text "Define the report file to create"))
  (label (position  2  6) (text "Location"))
  (label (position  2  7) (text "ID number"))
  (label (position  2  8) (text "Report Format"))
  (label (position  2  8) (text "Decimals"))
  (label (position  2 9) (text "Report by (T)otal, (I)nterval or (R)ange"))
  (label (position  2  10) (text "Elevation range"))
  (label (position  2  11) (text "Elevation interval"))
  (field "swa_name" (position 15  3) (display_length 32) (input disallowed))
  (field "reploc" (position 15 6) (display_length 26) (input allowed)
    (translate lower) (null disallowed) (max_length 256)
    (file output (link "repid" "report_format") (extension "*.not,*.csv,*.htm,*.html,*.rtf,*.pdf,*.ps")))
  (field "repid" (position 15  7) (display_length 16) (input allowed)
    (translate upper) (format real_8) (null allowed) (max_length 16))
  (field "report_format" (position 15  8) (display_length 5) (input allowed)
      (null disallowed) (max_length 5))
  (field "checkoverlaps" (position 15 12) (display_length  1) (input allowed)
    (value_in "Y" "N")(default "N")
    (translate upper) (null disallowed) (max_length 1))
  (field "report_type" (position 15 9) (display_length  1) (input allowed)
    (value_in "T" "I" "R")
	(default "T")
    (translate upper) (null disallowed) (max_length 1))
  (field "decimals" (position 15  4) (display_length  5) (input allowed)
    (low_bound 0) (high_bound 3)
    (format integer_4) (null disallowed) (max_length 5))
  (field "elevation_range" (position 15 10) (display_length 26) (input allowed)
    (dependency (value "report_type") == "R")
    (format range) (null disallowed) (max_length "MAX_RNG_LENGTH"))
  (field "elevation_interval" (position 16 11) (display_length 26) (input allowed)
    (dependency (value "report_type") == "I")
    (format real_8) (null disallowed) (max_length 16))
  (default_buttons)
)
