Skip to content

Instantly share code, notes, and snippets.

@kissmygritts
Created May 11, 2015 19:27
Show Gist options
  • Save kissmygritts/b06b291947a2a5277c46 to your computer and use it in GitHub Desktop.
Save kissmygritts/b06b291947a2a5277c46 to your computer and use it in GitHub Desktop.
Connect and query another access database. dev_joindb is a query def that must be defined first.
SELECT dev_joindb.WHno, dev_joindb.Collar_Current_ID, geo.easting_x, geo.northing_y, geo.timestamp
FROM dev_joindb INNER JOIN [;database=C:\Users\Mgritts\Documents\Databases\dbase_capturemonitoringwarehouse\dbase_capturemonitoringwarehouse.accdb].tbl_gps_locations AS geo
ON dev_joindb.Collar_Current_ID = geo.deviceid;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment