Ejemplo: 1
- Code: Select all Expand view
cFilter += [id_cliente=] + FW_ValToSQL(::id_contribuyente) + " "
cFilter += " .AND. " + [DTOS(cpte_fecha)>=] + ClipValue2SQL(DTOS(dFecDes))
cFilter += " .AND. " + [DTOS(cpte_fecha)<=] + ClipValue2SQL(DTOS(dFecHas))
Time from start: 0 hours 0 mins 14 secs
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 Expand view
- cFilter += " .AND. " + [cpte_fecha>=] + FW_ValToSQL(dFecDes)
cFilter += " .AND. " + [cpte_fecha<=] + FW_ValToSQL(dFecHas)
Time from start: 0 hours 0 mins 16 secs
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