(form "00323" (size 55 14)
  (help "00323_TIP_0")
  (heading "VIEW DRILL HOLE")
  (label (position  3  3) (text "Hole ID"))
  (label (position  3  5) (text "Define the COLLAR fields"))
  (label (position 32  5) (text "Define the tables"))
  (field "hole_id" (position 10  3) (display_length 16) (input allowed)
    (translate upper) (null disallowed) (max_length 32))
  (scroll_block "collar_fields" (position  3  7) (size 17  6)
     (extra  0  1)
     (scroll_size 17 60)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 60)))
    (main)
    (top
      (label (position  1  0) (text "Field name")))
    (main
      (field "collar_field" (position  1  0) (display_length 10) (input allowed)
        (max_length 18)
        (null allowed)))
  )

  (scroll_block "optional_tables" (position 32  7) (size 17  6)
     (extra  0  1)
     (scroll_size 17 20)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 50)))
    (main)
    (top
      (label (position  1  0) (text "Table name")))
    (main
      (field "table_name" (position  1  0) (display_length 10) (input allowed)
        (max_length 18)
        (null allowed)))
  )

  (default_buttons)
)
