I supect my design is flawed
The NumbersOnly function returns a set of numbers from a custom formatted string.
The above fails on the join (I think) but maybe there's another way of doing it?
Thanks for any advice.
Code:
SELECT tblData2.Prefix, tblData2.LineNum, tblData2.Year, tblComments.comment, tblComments.Address
FROM tblData2 LEFT JOIN tblComments ON tblData2.LineNum = (NumbersOnly([tblComments].[Address])
WHERE (((tblData2.MyYear)<1990))
ORDER BY tblData2.LineNum;
The above fails on the join (I think) but maybe there's another way of doing it?
Thanks for any advice.