M mrdx07 New member Local time Today, 04:20 Joined Jun 24, 2010 Messages 4 Jun 29, 2010 #1 validate 1st table to 2nd table if 1st table records exist in 2nd table the record will not be recorded.(validate that say " the record is already exist in table2) table1 and table2 has same filds
validate 1st table to 2nd table if 1st table records exist in 2nd table the record will not be recorded.(validate that say " the record is already exist in table2) table1 and table2 has same filds
T trentham Registered User. Local time Today, 12:20 Joined Mar 27, 2010 Messages 11 Jun 29, 2010 #2 If Dcount("*", "table2", "key=" & keyvalue) > 0 thenmsgbox "Record already exists", vbOKOnly, "Validation" exit subEnd If Or are you wanting something more than this?
If Dcount("*", "table2", "key=" & keyvalue) > 0 thenmsgbox "Record already exists", vbOKOnly, "Validation" exit subEnd If Or are you wanting something more than this?