Try to join to separate tables from two separate databases into a single select query. I know that in VBA you can link the databases but i know tat .net isn't as native to access.
Not sure how to do this? Can i use full path to a database in a from clause?
This is from VBA but im not sure how i can replicate this .net with haveing the tables linked to the project.
Not sure how to do this? Can i use full path to a database in a from clause?
Code:
SELECT Chg200809.*, FocusCostTitle.TaskNo, FocusCostTitle.Dept, Dept.Title FROM (Chg200809 INNER JOIN FocusCostTitle ON Chg200809.TaskNo = FocusCostTitle.TaskNo) INNER JOIN Dept ON FocusCostTitle.Dept = Dept.Code;
This is from VBA but im not sure how i can replicate this .net with haveing the tables linked to the project.