(form "00803" (position 0 2) (size 80  22)
  (help "00803_TIP_0")
  (heading "MONITORING PRISM SUMMARY")

  (scroll_block "summary" (position  13  5) (size 65  9)
     (extra  12  2)
     (scroll_size 302 200)
     (repeat interactive (grow  0  1) (instances  0 (min  0) (max 200)))
    (top
      (label (position  1  0) (text "Prism ID"))
      
    )
    (left
    )
    (main
      (field "prism_id" (position  1  0) (display_length 9) 
        (input disallowed) (max_length 18)
        (null allowed))
    )
  )

/*
  (label (position  2  16) (text "Sort Criteria"))
  (field "sort_criteria" (position 16  16) (display_length 18) (input allowed)
    (translate lower) (null disallowed) (max_length 36) 
    (default "prism_id")
    (help ""))

  (menu (position 40 16) (size 20  1)
    (grid  1  1)
    (item (function "sort now") (text "Sort Now"))
  )
*/

  (label (position  2  16) 
   (text "Define the Note and String files to be created"))
  (label (position  2  17) (text "Report content"))
  (field "report_content" (position 15  17) (display_length  16) 
    (input allowed) (translate lower) (null allowed) (max_length 16)
    (value_in "summary report" "detail report" "no report")
        (help "00803_TIP_1"))

  (label (position  2  18) (text "Location"))
  (field "location" (position 15  18) (display_length  20) 
    (input allowed) (translate lower) (null disallowed) (max_length "FIO_MAX_LOCATION_LENGTH")
    (help "SRV_PRISM_REPORT_LOC"))

  (label (position  2  19) (text "ID number"))
  (field "id" (position 15  19) (display_length  20) 
    (input allowed) (format real_8) (null disallowed) (max_length 16)
    (help (field "location")))

  (label (position  2  20) (text "Format"))
  (field "format" (position 15  20) (display_length  19) 
    (input allowed) (null disallowed)
    (dependency (value "report_content") != "no report")
    (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."))

  (scroll_block "report_fields" (position  2  22) (size 20  3)
     (extra  0 1)
     (scroll_size 18 200)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 200)))
    (top
      (label (position 1 0) (text "Report fields"))
    )
    (main
      (field "report_field" (position  1  0) (display_length 15) 
        (input allowed) (max_length 32)
        (translate lower) (null allowed)
        (help "00803_TIP_3"))
     )
  )

  (default_buttons)
)
