Agradeceria cualquie ayuda.
Os comento sin usar letodb esta sentencia me funciona correctamente :
Code: Select all
INDEX ON detalle TO "TEMP" for &(ccondicion) .and. buscarubicacion(componentc) = vpcorte MEMORY
así me funciona correctamente :
Code: Select all
INDEX ON detalle TO "TEMP" for &(ccondicion) MEMORY
Code: Select all
.and. buscarubicacion(componentc) = vpcorte
Error description: Error BASE/1066 Error de argumento: condicional
Args:
[ 1] = C unidades > etiquetas
Que se refiere a la &ccondicion.
Si añado la condición "extra" :
Code: Select all
ccondicion:=ccondicion+" .and. (buscarubicacion(componentc) = vpcorte)"
y el Letodb : Error BASE/1001 Undefined function: BUSCARUBICACION Arguments: ( [ 1] = Type: C Val: 0000C0008)
Y la verdad ya no se más probar. ¿Alguna sugerencia?