Hi,
if you are still after a lookup to a different database from the one you are connecting,
this is the solution:

As seen, Jam is connecting to jam8 database, which is this on PA:
https://elgar.pythonanywhere.com/ jam7 database is Demo, with Albums table. What is needed is a synonym to jam7.dbo.ALBUMS.
Then you can import it as usual, and do the Lookup as seen on Voiceinsttable.
I've spent quite some time on this but it is really simple.
This concludes using multiple MSSQL databases with Jam. It is all DBA work.
Hope this helps.
D.