(form "10158" (size 50 16)
  (help "10158_TIP_0")
(heading "UNDERGROUND SECTION PROFILE SURVEY")
  (label (position  2  3) (text "Database Name"))
  (field "dbname" (position 20  3) (display_length 18)
    (background) (input disallowed))
  (scroll_block (position  2  5) (size 46  10) (extra  0  1)
    (scroll_size 46 200) (repeat interactive (grow  0  1) 
    (instances  1 (min  1) (max 200)))
    (top
      (label (position 1  0) (text "String No"))
      (label (position 11  0) (text "Chainage"))
      (label (position 22  0) (text "Horiz. Offset"))
      (label (position 33  0) (text "Vert. Offset"))
    )
    (main
      (field "istr" (position 1  0) (display_length  5) (input allowed)
        (low_bound 0) (high_bound 32000)
        (format integer_4) (null disallowed) (max_length 5) 
        (initialise (value "istr(-1)"))
        (help "10158_TIP_1"))
      (field "chain" (position 11  0) (display_length  8) (input allowed)
        (translate upper) (format real_8) (null disallowed) (max_length 8)
        (initialise (value "chain(-1)"))
        (help "10158_TIP_2"))
      (field "hofset" (position 22  0) (display_length  8) (input allowed)
        (translate upper) (format real_8) (null disallowed) (max_length 8)
        (initialise (value "hofset(-1)"))
        (help "10158_TIP_3"))
      (field "vofset" (position 33  0) (display_length  8) (input allowed)
        (translate upper) (format real_8) (null disallowed) (max_length 8)
        (initialise (value "vofset(-1)"))
        (help "10158_TIP_4"))
    )
  )
  (default_buttons)
)
