← Foro de Visual FoxPro

AYUDA URGENTE, ACERCA DE UN CAMPO MEMO

Hilo en el foro de Visual FoxPro · 08 de Junio del 2005 · 1 respuestas
lechuga08 de Junio del 2005
Pregunta
HOLA COLEGAS.

ESPERO QUE ALGUIEN ME PUEDA AYUDAR, COMO PUEDO VALIDAR UN CAMPO MEMO...

HAGO LO SIGUIENTE PERO NO ME FUNCIONA :'(

IF ALLTRIM(thisform.descri.Value)<>"" then
SELECT rm_otro
=tableupdate(.t.)
ELSE
SELECT rm_prod
DELETE ALL FOR rm_prod.numero=usuario(1,1) AND rm_prod.mes=usuario(1,2) and rm_prod.prodcc=rm_otro.conotr
=TABLEUPDATE(.t.)
SELECT rm_otro
delete
=tableupdate(.t.)
ENDIF

YA PROBE TAMBIEN ASI, PERO TAMPOCO

IF EMPTY(ALLTRIM(thisform.descri.Value))<>"" then
SELECT rm_otro
=tableupdate(.t.)
ELSE
SELECT rm_prod
DELETE ALL FOR rm_prod.numero=usuario(1,1) AND rm_prod.mes=usuario(1,2) and rm_prod.prodcc=rm_otro.conotr
=TABLEUPDATE(.t.)
SELECT rm_otro
delete
=tableupdate(.t.)
ENDIF
thisform.Refresh


DE ANTEMANO MUCHISIMAS GRACIAS.

Respuestas 1

lechuga08 de Junio del 2005
Hola todos...

La solución es:

IF EMPTY(ALLTRIM(thisform.descri.Value)) then
SELECT rm_otro
=tableupdate(.t.)
ELSE
SELECT rm_prod
DELETE ALL FOR rm_prod.numero=usuario(1,1) AND rm_prod.mes=usuario(1,2) and rm_prod.prodcc=rm_otro.conotr
=TABLEUPDATE(.t.)
SELECT rm_otro
delete
=tableupdate(.t.)
ENDIF
thisform.Refresh
¿Buscas más hilos como este? Mira el foro de Visual FoxPro o usa el buscador.