Originally Posted by
Comiccradle
...seeing that the titles can differ slightly in the two tables it will not couple all the information from one table to the other....
If the titles did not vary, you could parse the title using the Left() function as previously mentioned. In order to parse, you need to run the parse queries FIRST and represent the results as an alias FIRST. In SQL, the FROM predicate is FIRST. So you would need to create some sub-queries. An easy way to do this is to create separate query objects and use the separate objects as sub-queries.
Since the titles do vary, the following will not produce consistent results.
Query1
Code:
SELECT Left([PPN].[ALFABETISCHE LIJST TIJDSCHRIFTEN],InStr([PPN].[ALFABETISCHE LIJST TIJDSCHRIFTEN],"PPN:")-1) AS Alias_PPN_Title, PPN.PPN
FROM PPN;
Query2
Code:
SELECT Left([Volledig1].[ALFABETISCHE LIJST TIJDSCHRIFTEN],InStr([Volledig1].[ALFABETISCHE LIJST TIJDSCHRIFTEN],"VV:")-1) AS Alias_VV_Title, Volledig1.VV, Volledig1.SFEER, Volledig1.SUBSFEER, Volledig1.OudeTitel, Volledig1.Bewaartermijn, Volledig1.TAAL, Volledig1.Status, Volledig1.DATUM, Volledig1.Actief
FROM Volledig1;
Query3
Code:
SELECT Query1.Alias_PPN_Title, Query1.PPN, Query2.Alias_VV_Title, Query2.VV, Query2.SFEER, Query2.SUBSFEER, Query2.OudeTitel, Query2.Bewaartermijn, Query2.TAAL, Query2.Status, Query2.DATUM, Query2.Actief
FROM Query1 INNER JOIN Query2 ON Query1.Alias_PPN_Title = Query2.Alias_VV_Title;