No me sale un Insert!!!!
Publicado por christian (8 intervenciones) el 24/02/2003 15:21:30
hola! tengo un problema con una clausula aql , un insert , no me ingresa ningun dato a la tabla , y nose porque, le he puesto valores ya referenciados y nada , alguien me pude ayuda???? de antemano gracias... este es el codigo que tengo , las fechas estan en formato fecha ...
set multilocks on
local suceso
local nombre,apellido,rut,fechanc,direccion,telefonos,ciudad,estadicivil,fechaing
local estmed,titulo,especialidad,otrosestudios,trabajo,disponibilidad
WITH THISFORM.pageframe1.page1
nombre= .txtnombre.value
apellido= .txtapellido.value
rut= .txtrut.value
fechanc = .txtfechanc.value
direccion= .txtdireccion.value
telefonos= .txttelefonos.value
ciudad= .txtciudad.value
estadocivil= .txtestadocivil.value
fechaing= .txtfechaing.value
EndWith
With ThisForm.pageframe1.page2
estmed= .txtestmed.value
titulo =.txttitulo.value
especialidad= .txtespecialidad.value
otrosestudios= .txtotrosestudios.value
endwith
with thisform.pageframe1.page3
trabajo= .edit1.value
disponibilidad= .txtdisponibilidad.value
endwith
use Areaeducacion
&&If !Empty(nombre)and !Empty(apellido) And !Empty(rut) And !Empty(fechanc) ;
&&And !Empty(direccion) And !Empty(telefonos) and !Empty(ciudad) And !Empty(fechaing);
&&And !Empty(estadocivil) And !Empty(estmed) And !Empty(titulo) and !Empty(especialidad);
&&And !Empty(otrosestudios) And !Empty(trabajo) And !Empty(disponibilidad);
INSERT INTO Areaeducacion VALU
set multilocks on
local suceso
local nombre,apellido,rut,fechanc,direccion,telefonos,ciudad,estadicivil,fechaing
local estmed,titulo,especialidad,otrosestudios,trabajo,disponibilidad
WITH THISFORM.pageframe1.page1
nombre= .txtnombre.value
apellido= .txtapellido.value
rut= .txtrut.value
fechanc = .txtfechanc.value
direccion= .txtdireccion.value
telefonos= .txttelefonos.value
ciudad= .txtciudad.value
estadocivil= .txtestadocivil.value
fechaing= .txtfechaing.value
EndWith
With ThisForm.pageframe1.page2
estmed= .txtestmed.value
titulo =.txttitulo.value
especialidad= .txtespecialidad.value
otrosestudios= .txtotrosestudios.value
endwith
with thisform.pageframe1.page3
trabajo= .edit1.value
disponibilidad= .txtdisponibilidad.value
endwith
use Areaeducacion
&&If !Empty(nombre)and !Empty(apellido) And !Empty(rut) And !Empty(fechanc) ;
&&And !Empty(direccion) And !Empty(telefonos) and !Empty(ciudad) And !Empty(fechaing);
&&And !Empty(estadocivil) And !Empty(estmed) And !Empty(titulo) and !Empty(especialidad);
&&And !Empty(otrosestudios) And !Empty(trabajo) And !Empty(disponibilidad);
INSERT INTO Areaeducacion VALU
Valora esta pregunta


0