(form "00504" (size 80 15)
  (heading "DATABASE TABLE STATISTICS - RESULTS")
  (label (position  2  3) (text "Table"))
  (field "table" (position 8  3) (display_length 10) (input disallowed))
  (field "use_logs" (position 40  7) (display_length 1) 
    (foreground (user_option "form_foreground")) 
    (background (user_option "form_background"))
    (input disallowed))
  (scroll_block "main" (position 13 6) (size 64 5) (extra 12 2)
    (scroll_size 192 60) (repeat interactive (grow 0 1) (instances 1 (min 1)
    (max 60)))
    (top
      (label (position  1  0) (text "Reporting Criteria"))
      (label (position  1  1) (text "Min Value"))
      (label (position  11  1) (text "Max Value"))
      (label (position  21  1) (text "Cut Value"))
      (label (position  31  0) (text "Normal Statistics"))
      (label (position  31  1) (text "Num Sam"))
      (label (position  41  1) (text "Minimum"))
      (label (position  51  1) (text "Maximum"))
      (label (position  61  1) (text "Mean"))
      (label (position  71  1) (text "Variance"))
      (label (position  81  1) (text "Std Dev"))
      (label (position  91  1) (text "Skewness"))
      (label (position  101  1) (text "Kurtosis"))
      (label (position  111  1) (text "Coef Var"))
      (label (position  121  0) (text "Logarithmic Statistics"))
      (label (position  121  1) (text "Num Samps"))
      (label (position  131  1) (text "Mean"))
      (label (position  141  1) (text "Variance"))
      (label (position  151  1) (text "Std Dev"))
      (label (position  161  1) (text "Skewness"))
      (label (position  171  1) (text "Kurtosis"))
      (label (position  181  1) (text "Coef Var"))
    )
    (left
      (field "field_name" (position  1  0) (display_length 9) 
        (input disallowed))
    )
    (main 
      (field "min_value" (position  1  0) (display_length 8) 
        (input disallowed))
      (field "max_value" (position  11  0) (display_length 8) 
        (input disallowed))
      (field "cut_value" (position  21  0) (display_length 8) 
        (input disallowed))
      (field "num_values" (position 31  0) (display_length 8) 
        (input disallowed))
      (field "field_min" (position  41  0) (display_length 8) 
        (input disallowed))
      (field "field_max" (position  51  0) (display_length 8) 
        (input disallowed))
      (field "mean" (position  61  0) (display_length 8) 
        (input disallowed))
      (field "variance" (position  71  0) (display_length 8) 
        (input disallowed))
      (field "std_dev" (position  81  0) (display_length 8) 
        (input disallowed))
      (field "skewness" (position 91   0) (display_length 8) 
        (input disallowed))
      (field "curtosis" (position  101  0) (display_length 8) 
        (input disallowed))
      (field "coefvar" (position  111  0) (display_length 8) 
        (input disallowed))
      /*
      ** log stats
      */
      (field "num_log_values" (position  121  0) (display_length 8) 
        (input disallowed) (dependency (value "use_logs") == "Y"))
      (field "log_mean" (position  131  0) (display_length 8) 
        (input disallowed) (dependency (value "use_logs") == "Y"))
      (field "log_variance" (position  141  0) (display_length 8) 
        (input disallowed) (dependency (value "use_logs") == "Y"))
      (field "log_std_dev" (position  151  0) (display_length 8) 
        (input disallowed) (dependency (value "use_logs") == "Y"))
      (field "log_skewness" (position  161  0) (display_length 8) 
        (input disallowed) (dependency (value "use_logs") == "Y"))
      (field "log_curtosis" (position  171  0) (display_length 8) 
        (input disallowed) (dependency (value "use_logs") == "Y"))
      (field "log_coefvar" (position  181  0) (display_length 8) 
        (input disallowed) (dependency (value "use_logs") == "Y"))

    )
  )
  (default_buttons)
)
