Error 37000

SQ074: Line 35 (line 5418 of "virt://WS.WS.SYS_DAV_RES.RES_FULL_PATH.RES_CONTENT:/DAV/VAD/conductor/xddl.vspx", line 5465 of "virt://WS.WS.SYS_DAV_RES.RES_FULL_PATH.RES_CONTENT:/DAV/VAD/conductor/xddl.vspx"): 
while executing the following statement:
#line 22870 "/DAV/VAD/conductor/xddl.vspx-sql"
create method vc_data_bind_template_xddl_chooser (inout control vspx_template , inout e vspx_event) for "DB"."dba".page__DAV_VAD_conductor_xddl_vspx
{
  --no_c_escapes-
  declare path, params, lines any;
  
  control.vc_enabled := 
-- (The following expression is from attribute 'enabled' of control <template name='template_xddl_chooser' ...>
#line 5414 "virt://WS.WS.SYS_DAV_RES.RES_FULL_PATH.RES_CONTENT:/DAV/VAD/conductor/xddl.vspx"
  case when self.mode = 'xddl_chooser' then 1 else 0 end;
  
  if (not control.vc_enabled)
    {

      return 1;
    }
  path := e.ve_path;
  params := e.ve_params;
  lines := e.ve_lines;

   if (not control.vc_instantiate)
     {
       control.vc_instantiate := 1;
       self.vc_init_template_xddl_chooser (control, control.vc_parent);
       if (self.vc_page.vc_is_postback and e.ve_button is null)
         self.vc_get_focus (e);
     }
  
-- v:before-data-bind controls:
    
--no_c_escapes-
   {
   
#line push
#line 5415 "virt://WS.WS.SYS_DAV_RES.RES_FULL_PATH.RES_CONTENT:/DAV/VAD/conductor/xddl.vspx"

		 
		    if (self.mode = 'xddl_chooser' ) {
						self.chooser_browse_tables,
						self.chooser_browse_views,
						self.chooser_browse_procedures );

						self.chosen_objects := vector();
						self.chosen_existing_objects := vector();
					}
						self.datasource_entry := 0;
		     
		
#line pop

   }
  if (not control.vc_enabled)
    {

      return;
    }
    
-- Databound fields of the control:
  
-- Databound HTML attributes:
   

#line 837 "http://local.virt/vspx"

}