This gives more detail on the actual table names and such. Let me know if this helps or makes things worse.
This code is as is without the > then dtmClmFinDate that I attempted to do.
Code:
INSERT INTO [ZZ MasterList_ClaimsRecd] ( LMSAcctNo, UGCertNo, LenderLoanNo, LenderID, ClaimRecdDate, LenderName, ClaimFiledAmt, AcknowledgementDate, strCompNbr )
SELECT dbo_tblAccount.dblAcctNbr, dbo_tblAccount.strCertNbr AS UGCertNo, dbo_tblAccount.strLenderLnNbr AS LenderLoanNo, dbo_tblAccount.strLenderID AS LenderID, dbo_tblAccount.dtmClmRecDate AS ClaimRecdDate, LenderList.LndrName AS LenderName, dbo_tblAccount.dblLenderFiledClmAmt AS ClaimFiledAmt, Date() AS AcknowledgementDate, dbo_tblAccount.strCompNbr
FROM dbo_tblAccount LEFT JOIN LenderList ON dbo_tblAccount.strLenderID = LenderList.LndrNo
WHERE (((dbo_tblAccount.dtmClmRecDate) Between #1/1/2010# And Date()) AND ((dbo_tblAccount.dtmClmFinDate) Is Null));
So, with these actual field names, I am looking for:
dtmClmFinDate = Null
or
drmClmFinDate < dtmClmRecDate
For the dtmClmRecDate range of 1/1/2010 - Today