hello
i have table named tbl_edbarat_1 contains 3 columns (id - pid - tid)
i want to delete the records
where the tid=0 and DCount("*", "tbl_Edbarat_1") > 1
i try this
If DCount("*", "tbl_Edbarat_1") > 1 Then
DoCmd.SetWarnings False
DoCmd.OpenQuery "qry_Delete_Empty_Edbarat_01_Records"...