|
Hola Victor nuevamente molestandote, necesito me ayudes a solucionar este comando de busqueda.
Tengo un ojeto Text y quiero escribir el codigo de un articulo y que me muestre la descripcion en otro text yo utilice estos comando en el evento lostfocus en el Valid tambien y no me muestra nada te lo describo:
public aliva
sele articulos
go top
set exact off
LOCATE FOR articulos.CODIGOINTERNO==thisform.text6codigoart.value
wait window articulo+transform(precio1,"999,.99")+codigointerno nowait
if !found()
STORE ARTICULO TO thisform.text7descripart.value
store precio1 to thisform.text8preciopub.value
store thisform.text9descuento.value to descuento
store alicuotaiva to aliva
thisform.text6codigoart.enabled=.f.
thisform.text7descripart.enabled=.f.
thisform.command2.enabled=.f.
else
messagebox("El artículo no se encuentra",2+256+68,"Atención")
return .f.
endif
si podrias mandarme la sulucion agradeceria tu voluntad de ayudarme
un abrazo Fernando
|