(form "00502" (size 40 9)
  (help "00502_TIP_0")
(heading "DATABASE TABLE STATISTICS")
  (label (position  2  3) (text "Define the note file to create"))
  (label (position  2  4) (text "REPORT_FILE_NAME"))
  (label (position  2  6) (text "Table"))
  (label (position  2  7) (text "Use Logarithms"))
  (field "note_loc" (position  11  4) (display_length 20)
    (input allowed) (null disallowed)
    (translate lower) (max_length 26)
    (file output (extension trim "reports|*.not"))
    (help "00502_TIP_1"))

  (label (position 2  5) (text "Format"))
  (field "report_format" (position 11 5) (display_length 21)
    (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 "table" (position  11  6) (display_length 16)
    (input allowed) (null disallowed)(exclusive_value_list)
    (max_length 18)
    (help "00502_TIP_2"))
  (field "use_logs" (position  18  7) (display_length 1) (input allowed)
    (value_in "Y" "N")
     (default "Y")
    (help "00502_TIP_3"))
  (default_buttons)
)
