(form "20197" (size 45 17)

   (heading "XPAC INTERFACE")

   (scroll_block "report attributes" 
      (position 5 4) 
      (size 30 2)
      (extra 0 1) 
      (scroll_size 30 2)
      (repeat interactive (grow 0 1) (instances 1 (min 1) (max 100)))
     (top
       (label (position 1 0) 
              (text "Enter names of attributes to report")))
     (main
       (field "rpt_attribute" 
         (position 1 0) 
         (display_length 25) 
         (input allowed) 
         (max_length "BM_MAX_ATT_NAME_LEN") 
         (auto_next off) 
         (null allowed)
         )))

  (scroll_block "group attributes" 
      (position 5 9) 
      (size 30 2)
      (extra 0 2) 
      (scroll_size 30 2)
      (repeat interactive (grow 0 1) (instances 1 (min 1) (max 10)))
    (top 
      (label (position  1 0) 
             (text "Attributes to GROUP by"))
      (label (position  1 1) 
             (text "specified in correct ORDER")))
    (main
      (field "group_field" 
         (position 1 0) 
         (display_length 25) 
         (input allowed)
         (max_length "BM_MAX_ATT_NAME_LEN") 
         (auto_next off) 
         (null allowed)
         )))

  (field "use_vol_att" 
      (position 35 11) 
      (display_length 4) 
      (input allowed)
      (value_in "Yes" "No" ) 
      (default "No") 
      (null disallowed) 
      (max_length 4))
  (field "vol_att" 
      (position 35 11) 
      (display_length 8) 
      (input allowed)
      (null allowed) 
      (max_length "BM_MAX_ATT_NAME_LEN"))

  (label (position 5 12)
         (text "Do you want to apply Constaints?"))
  (field "constraints" 
      (position 35 12) 
      (display_length 4) 
      (input allowed)
      (value_in "Yes" "No" ) 
      (default "No") 
      (auto_next off) 
      (null disallowed) 
      (max_length 4)
      )

  (label (position 5 14) 
         (text "Output Filename"))
  (field "xpac_filename" 
      (position 20 14) 
      (display_length 20) 
      (input allowed)
      (translate lower) 
      (null disallowed) 
      (max_length 40)
      (file (extension trim "*.dat"))
      (file output (extension "*.dat"))
      )

  (default_buttons)
)
