Es proble es ....
Publicado por chavez (99 intervenciones) el 14/02/2007 20:38:33
x=thisform.txt_cedula.value
USE result
LOCATE FOR ALLTRIM(cedula)==ALLTRIM(x)
IF FOUND() then
Thisform.text1.value=nombre
Thisform.text2.value=fecha2
*Set filter to cedula=x
Thisform.grid1.refresh
else
MESSAGEBOX("LA CEDULA INGRESADA NO EXISTE")
*wait window "La Cedula no existe, intente de nuevo" timeout .8
*Return .f.
ENDIF
cuando ejecuto el GRID1 me me trae los datos cuando habro el formulario luego cuando realizo la consulta se queda el grid en blanco
USE result
LOCATE FOR ALLTRIM(cedula)==ALLTRIM(x)
IF FOUND() then
Thisform.text1.value=nombre
Thisform.text2.value=fecha2
*Set filter to cedula=x
Thisform.grid1.refresh
else
MESSAGEBOX("LA CEDULA INGRESADA NO EXISTE")
*wait window "La Cedula no existe, intente de nuevo" timeout .8
*Return .f.
ENDIF
cuando ejecuto el GRID1 me me trae los datos cuando habro el formulario luego cuando realizo la consulta se queda el grid en blanco
Valora esta pregunta


0