Nov 21, 2002 #1 kavya Programmer Feb 21, 2001 83 US I am trying to compare two records from two tables. Tblu and tblsub and create a table tblunion with matched records. Both the tables have a common field 'filename'. Can some one give me the example of the code. Thanks alot.
I am trying to compare two records from two tables. Tblu and tblsub and create a table tblunion with matched records. Both the tables have a common field 'filename'. Can some one give me the example of the code. Thanks alot.
Nov 21, 2002 #2 bdmclennan Programmer Aug 2, 2002 28 GB Create a new query and paste this SQL in then Run it. SELECT tblU.FILENAME INTO tblUNION FROM tblU INNER JOIN tblSUB ON tblU.FILENAME = tblSUB.FILENAME ; Upvote 0 Downvote
Create a new query and paste this SQL in then Run it. SELECT tblU.FILENAME INTO tblUNION FROM tblU INNER JOIN tblSUB ON tblU.FILENAME = tblSUB.FILENAME ;
Nov 21, 2002 Thread starter #3 kavya Programmer Feb 21, 2001 83 US hi bdmclennan, Thanks for your reply. But I was looking for code in module that opens the recordset and then does the comparison. Thanks once again. Upvote 0 Downvote
hi bdmclennan, Thanks for your reply. But I was looking for code in module that opens the recordset and then does the comparison. Thanks once again.