
ayuda con update
Publicado por Alexthenn (3 intervenciones) el 08/09/2016 00:03:54
buenas tardes, necesito hacer un update
el tema es que me salta el error: Alias 'TXTMEDIDA' is not found
txtmedida es un textbox, si hago un wait wind justo antes del update me tira el valor del mismo sin problemas.... la verdad no se como solucionar este problema. Muchas Gracias
1
2
3
4
5
IF VAL(thisform.list1.Value)!=0
UPDATE tmplistvidrio SET medida = thisform.txtmedida.value, precio = thisform.txtprecio.Value WHERE cod = thisform.list1.Value
ELSE
UPDATE tmplistvidrio SET medida = thisform.txtmedida.value, precio = thisform.txtprecio.Value WHERE cod = 0 AND medida = thisform.txtmedida.Value OR precio = thisform.txtprecio.Value
ENDIF
el tema es que me salta el error: Alias 'TXTMEDIDA' is not found
txtmedida es un textbox, si hago un wait wind justo antes del update me tira el valor del mismo sin problemas.... la verdad no se como solucionar este problema. Muchas Gracias
Valora esta pregunta


0