(form "00691" (size 50 15) (mismatch ignore)
  (heading "Display discrete samples")
  (field "table_name" (position 1  1) (display_length  10) 
    (input allowed) (translate none) (null disallowed) 
    (max_length "DB_NAME_LENGTH"))
  (field "rescale" (position 1  2) (display_length  1) (input allowed)
    (translate upper) (null disallowed) (max_length 1)
    (value_in "Y" "N"))
  (field "colourByField" (position 1 5) (display_length  10) (input allowed)
    (null allowed) (max_length 18))


  (scroll_block "styles" (position  1  6) (size 40  5)
    (extra  0  1)
    (scroll_size 40 9)
    (repeat interactive (grow  0  1) (instances  1 (min  0) (max 9)))

    (main
      (field "fieldName" (position 1 0) (display_length 10) (input allowed)
        (null allowed) (max_length 18))
      (field "decimals" (position 5 0) (display_length 4) (input allowed) 
        (max_length 4) (null disallowed) (format integer_4) (low_bound 0)
        (high_bound 5) (default "2"))
      (field "font"  (position 10 0) (display_length 10) (input allowed) 
        (default "Default") (null disallowed) (max_length 14))
      (field "size" (position 20 0) (display_length 5) (input allowed) 
        (max_length 10) (null disallowed) (format real_8) (low_bound 0.01)
        (default "0.02"))
      (field "units"   (position 25 0) (display_length 3) (max_length 3)
        (input allowed) (null disallowed) (value_in "oru" "sru")
        (default "sru"))
      (field "position" (position 30 0) (display_length 2) (max_length 5)
        (input allowed) (null disallowed) (default "above")
        (value_in "above" "below" "left" "right" ))
    )
  )

  (field "defaultColour" (position 1 10) (display_length 10) (input allowed)
    (translate lower) (null disallowed) (format colour) (max_length 32))

  (field "defaultMarkerStyle" (position 1 10) (display_length 10) (input allowed)
    (translate lower) (null disallowed) (max_length 256))

  (default_buttons)
)
