Hi I have table2 and table1. I want to check if table2 values exist in table1. If they do, I want them to be displayed on datagridview in a form. The table1 and table2 have same fields except that the primary key in each table is the serial number.
Even if duplicates exist in table2, its fine.. i just want ..what's on table2, if it exists in table1, display that
the query that i used was
cmd = New OleDbCommand("SELECT * from table2 WHERE MFG.table1 = MFG.table2", con)
this does not seem to work..why is that?