hi,
Been trying to do a duplicate check with the following code
If DCount("FileID", "qryMIR", "[MIRSeq]=" & MIRSeq) And DCount("FileID", "qryMIR", "[TicketNumber]=""" & tkt & """") Then 'validate MIR Sequence number and Ticketnumber to avoid Duplication
txtMIRActivity.Value...