Hi all,
I have 2 text files they have the Field [name] in common, I a using 2 DSNs 2 open because they have different structures.
--------------
set con = new ADODB.Connection
set cn = new ADODB.Connection
Set rec = New ADODB.Recordset
Set rs = New ADODB.Recordset
rec.Open " select * from names.txt , con, adOpenDynamic
rs.Open "select * from address.txt", cn, adOpenDynamic
----------------
The idea is to select all the names that are matching in both files add to them the addresses and put them into new text file. I was thinking of joining them threw and SQL coomand they call it inner join but I do not know what is the best solution. Any Ideas?
Regards
time is the father of truth
I have 2 text files they have the Field [name] in common, I a using 2 DSNs 2 open because they have different structures.
--------------
set con = new ADODB.Connection
set cn = new ADODB.Connection
Set rec = New ADODB.Recordset
Set rs = New ADODB.Recordset
rec.Open " select * from names.txt , con, adOpenDynamic
rs.Open "select * from address.txt", cn, adOpenDynamic
----------------
The idea is to select all the names that are matching in both files add to them the addresses and put them into new text file. I was thinking of joining them threw and SQL coomand they call it inner join but I do not know what is the best solution. Any Ideas?
Regards
time is the father of truth