Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Retrieve data from 2 Access Databases

$
0
0
i have 2databases D2012_12.mdb and ms.mdb in D2012_12.mdb has table D2012 and ms.mdb has CHNMST and BRMST tables, I want to get Channel "DESC" in CHNMST table that CHNCD contain in TD2012 table.
i wrote query as follow

query = "SELECT b.DESC FROM TD2012 a [C:\\Documents and Settings\\\projects\\MediaWatch\\bin\\Debug\\ms.mdb].BRMST b WHERE a.CHNCD=b.CHNCD"
but its not working.
Please tell me how to join this two databases, Thank you..................
I attached image to refer


Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>