Hi guys, i am getting the attached error when running a form but it only appears on some pcs not others.
that is the query attached to that report.
The other problem is it occours on a few different reports but all using pretty much the same query.
Any ideas?
Code:
SELECT HTRXTBL.HTRX_TRX_DATE,
AREATBL.AREA_DESC,
CDate(Format([HTRXTBL].[HTRX_TIMESTAMP],"dd/mm/yy hh:nn")) AS TIME_DATESTAMP,
Abs(Round([HTRXTBL]![HTRX_TRX_DATE]-[HTRXTBL]![HTRX_TIMESTAMP],0)) AS Days
FROM AREATBL, HTRXTBL
WHERE (((HTRXTBL.HTRX_AREA_NUMBER)=[AREATBL].[AREA_NUMBER])
AND ((AREATBL.AREA_NUMBER)=[Forms]![frmINVOICES]![comboAREA])
AND ((HTRXTBL.HTRX_REC_TYPE)="COMMIT")
AND ((IIf([Forms]![frmINVOICES]![frameINVOICESORT]=1,[HTRXTBL]![HTRX_TRX_DATE],[HTRX_TIMESTAMP]))
Between [Forms]![frmINVOICES]![txtDATEFROM] And [Forms]![frmINVOICES]![txtDATETO]))
GROUP BY HTRXTBL.HTRX_TRX_DATE,
AREATBL.AREA_DESC,
CDate(Format([HTRXTBL].[HTRX_TIMESTAMP],"dd/mm/yy hh:nn")),
Abs(Round([HTRXTBL]![HTRX_TRX_DATE]-[HTRXTBL]![HTRX_TIMESTAMP],0));
The other problem is it occours on a few different reports but all using pretty much the same query.
Any ideas?