newUrl is used to create a new DB object. In this example,
it is used as action code for a button. Pressing the button will create a
new object of the class "+Bkng" and take the user to the page where such an
object can be edited.
(gui 6 '(+Able +Button) T ,"Book"
'(nr genKey 'nr '+Bkng)
'depd (: home obj depd)
'dept (: home obj dept)
'retd (: home obj retd)
'rett (: home obj rett)
'trsp (if (: home obj trf) ,"Yes" ,"No")
'htl (if (: home obj htl) ,"Yes" ,"No") ) )