Problemas en programa vfp9.0

Buenas tardes de antemano gracias tengo un problema en una caja de texto en donde en esa caja de texto quiero jalar el valor de otra caja de texto y me sale el sig error.

El valor, tipo o numero de argumentos no es valido para la función

ya he intentado varias cosas pero no me sale te agradecería mucho tu ayuda

este es el código que uso en el gotfocus de la a caja de texto

if thisform.text9.value=" " then
if thisform.text23.value = thisform.text37.value then
thisform.text191.value= thisform.text23.value
st2= val(r33)+ val(r44)
thisform.text37.value=" "
r44=" "
else
if thisform.text23.value = thisform.text52.value then
thisform.text191.value= thisform.text23.value
st2= val(r33)+ val(r55)
thisform.text52.value=" "
r55=" "
else
if thisform.text23.value = thisform.text70.value then
thisform.text191.value= thisform.text23.value
st2= val(r33)+ val(r66)
thisform.text70.value=" "
r66=" "
else
if thisform.text23.value = thisform.text85.value then
thisform.text191.value= thisform.text23.value
st2= val(r33)+ val(r77)
thisform.text85.value=" "
r77=" "
else
if thisform.text23.value = thisform.text104.value then
thisform.text191.value= thisform.text23.value
st2= val(r33)+ val(r88)
thisform.text104.value=" "
r88=" "
else
if thisform.text23.value = thisform.text118.value then
thisform.text191.value= thisform.text23.value
st2= val(r33)+ val(r99)
thisform.text118.value=" "
r99=" "
else
if thisform.text23.value = thisform.text132.value then
thisform.text191.value= thisform.text23.value
st2= val(r33)+ val(r1010)
thisform.text132.value=" "
r1010=" "
else
if thisform.text23.value = thisform.text146.value then
thisform.text191.value= thisform.text23.value
st2= val(r33)+ val(r1111)
thisform.text146.value=" "
r1111=" "
else
if thisform.text23.value = thisform.text160.value then
thisform.text191.value= thisform.text23.value
st2= val(r33)+ val(r1212)
thisform.text160.value=" "
r1212=" "
else
if thisform.text23.value = thisform.text174.value then
thisform.text191.value= thisform.text23.value
st2= val(r33)+ val(r1313)
thisform.text174.value=" "
r1313=" "
else
thisform.text191.value= thisform.text23.value
st2= val (r33)
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
else
if thisform.text9.value = thisform.text23.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r33)
thisform.text23.value=" "
r33=" "
else
if thisform.text9.value = thisform.text37.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r44)
thisform.text37.value=" "
r44=" "
else
if thisform.text9.value = thisform.text52.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r55)
thisform.text52.value=" "
r55=" "
else
if thisform.text9.value = thisform.text70.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r66)
thisform.text70.value=" "
r66=" "
else
if thisform.text9.value = thisform.text85.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r77)
thisform.text85.value=" "
r77=" "
else
if thisform.text9.value = thisform.text104.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r88)
thisform.text104.value=" "
r88=" "
else
if thisform.text9.value = thisform.text118.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r99)
thisform.text118.value=" "
r99=" "
else
if thisform.text9.value = thisform.text132.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r1010)
thisform.text132.value=" "
r1010=" "
else
if thisform.text9.value = thisform.text146.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r1111)
thisform.text146.value=" "
r1111=" "
else
if thisform.text9.value = thisform.text160.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r1212)
thisform.text160.value=" "
r1212=" "
else
if thisform.text9.value = thisform.text174.value then
thisform.text191.value= thisform.text9.value
st2= val(r22)+ val(r1313)
thisform.text174.value=" "
r1313=" "
else
thisform.text191.value= thisform.text9.value
st2= val (r22)
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
endif
thisform.refresh

Añade tu respuesta

Haz clic para o