Error 3075

jasn_78

Registered User.
Local time
Tomorrow, 03:19
Joined
Aug 1, 2001
Messages
214
Hi guys, i am getting the attached error when running a form but it only appears on some pcs not others.

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));
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?
 
oops sorry guys forgot the attachment
 

Attachments

  • ERROR 3075.jpg
    ERROR 3075.jpg
    5.7 KB · Views: 110
sorry guys i think i have posted this under wrong section can some1 move it to queries for me?
 

Users who are viewing this thread

Back
Top Bottom