Let have:
Q : table in a SQL database, that keeps the persons data in the fields Name:string(50), Town:integer,....
M : a table that keeps the Towns data in the fields ID:integer, TownName:string(30),....
Now I want to present a person's TownName where Q.Town=M.ID
If both tables were in the same(or not) database, this would be achived with the statement SELECT Q.Name,Q.Town,M.nameOfTown FROM Q LEFT JOIN M ON Q.town=M.ID
but what can I do if the table M is an inmemory table (TBufDataset)?