Ejemplo: 1
Code: Select all
cFilter += [id_cliente=] + FW_ValToSQL(::id_contribuyente) + " "
cFilter += " .AND. " + [DTOS(cpte_fecha)>=] + ClipValue2SQL(DTOS(dFecDes))
cFilter += " .AND. " + [DTOS(cpte_fecha)<=] + ClipValue2SQL(DTOS(dFecHas))
Error occurred at: 31/08/2020, 19:08:38
Error description: Error BASE/1003 Variable does not exist: CPTE_FECHA
Ejemplo:2
Code: Select all
cFilter += " .AND. " + [cpte_fecha>=] + FW_ValToSQL(dFecDes)
cFilter += " .AND. " + [cpte_fecha<=] + FW_ValToSQL(dFecHas)
Error occurred at: 31/08/2020, 19:07:03
Error description: Error BASE/1076 Argument error: >=
Args:
[ 1] = D 28/08/2020
[ 2] = C 2020-08-01