FoxPro/Visual FoxPro - COMPARAR CAMPO DE UN CURSOR

 
Vista:

COMPARAR CAMPO DE UN CURSOR

Publicado por ADA (26 intervenciones) el 24/02/2007 00:10:33
MUCHACHOS BUENAS TARDES

NECESITO AYUDA... TENGO UN CURSOR Y UNA TABLA CON UN CAMPO EN COMUN.. NECESITO SABER COMO HAGO PARA BUSCAR EN LA TABLA EL DATO QUE TENGO EN EL CURSOR. Y COMO ACTUALIZO EL DATO DE UN SEGUNDO CAMPO DEL CURSOR EN LA TABLA. LO NECESITO URGENTE AMIGOS....

GRACIAS...
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:COMPARAR CAMPO DE UN CURSOR

Publicado por Plinio (7841 intervenciones) el 24/02/2007 00:22:35
SELECT tucursor
***Posicionate en el registro que deseas del cursor

SELECT tutabla
SET ORDER algun_indice
SEEK tucursor.campo
IF FOUND()
***Otros codigos aqui
SELEC cursor

REPLACE cursor.campo2 with cualquier valor
ENDIF
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar