You need to know the location of the data, say lcLocation then:
If you're using a DBC it's just open database (addbs(lcLocation) + "mydbc") use table1 in 0 use table2 in 0
If you're opening tables explicitly then then:
use (addbs(lcLocation) + "table1") in 0 use (addbs(lcLocation) + "table2") in 0
And so on.
Beyond that it doesn't matter where they are as long as the user has r\w access to the location. And it's not opening them directly over the internet or something silly.