I have a DCount statement which appears to work but fails.
Both the values Me.txtEXPPolicyNo / Me.cmbEXPAltRef are passed in (as can be seen when debug halts it) and I am getting a runtime error 3075.
Both controls are text controls and both fields are text fields so anyone know what is going wrong with my statement?
If IT ain’t working Binnit and Reboot
Code:
If DCount("[expaltref]", "tblRiskDetails", "EXPPolicyNO] = '" & Me.txtEXPPolicyNo & "'And [expaltref]= '" & Me.cmbEXPAltRef & "'") >= 1 Then
Both the values Me.txtEXPPolicyNo / Me.cmbEXPAltRef are passed in (as can be seen when debug halts it) and I am getting a runtime error 3075.
Both controls are text controls and both fields are text fields so anyone know what is going wrong with my statement?
If IT ain’t working Binnit and Reboot