hi:
i build a query for duplicate records
onbeforeupdate form in need to run a vba code
if the record is already in the table. then delete the last record
i build a query for duplicate records
onbeforeupdate form in need to run a vba code
if the record is already in the table. then delete the last record
Code:
Dim qry As QueryDef
Set qry = CurrentDb.QueryDefs("duplicate records")
if (i'm stuck) >0 then (again stuck) move last delete
MsgBox "The problem already reported before!"