Hi
Would anybody be able to tell me why this SQL string won't work with the OpenRecordset command - I get a "Syntax Error In From Cause 3131"? It works in a normal query window fine though.
SELECT DISTINCT tblMusicOutstanding.[Programme Title],
Right([tblMusicOutstanding].[costing no],8),
tblExp_Reports.[House No]
FROM tblMusicOutstanding, tblExp_Reports
WHERE (((Right([tblMusicOutstanding].[costing no],8))=[tblexp_reports].[house no]));
Thanks in advance
Tim
Would anybody be able to tell me why this SQL string won't work with the OpenRecordset command - I get a "Syntax Error In From Cause 3131"? It works in a normal query window fine though.
SELECT DISTINCT tblMusicOutstanding.[Programme Title],
Right([tblMusicOutstanding].[costing no],8),
tblExp_Reports.[House No]
FROM tblMusicOutstanding, tblExp_Reports
WHERE (((Right([tblMusicOutstanding].[costing no],8))=[tblexp_reports].[house no]));
Thanks in advance
Tim