C
colin
Many thanks to Ken Snell [MVP] and to Douglas Steele for the help with my
earlier post yesterday.
My question was as follows:
Hi I have an access database that has a text field with example data as
The answer Provided by Ken was
SELECT Mid([FieldName], InStr([FieldName], " - ") + 3) AS Affiliation FROM
TableName;
I have tried using the following:
SELECT Mid([Gamma 0800RatedCDR]![Location], InStr([Gamma
0800RatedCDR]![Location] , " - ") + 3) as Affiliation From [Gamma
0800RatedCDR];
However I get the following error
The Syntax of the Subquery in this expression is incorrect. Check the
subquery's syntax and enclose the subquery in parenthesis
Please can anyone advise.
Many thanks in anticipation
Kind rgds
Colin
earlier post yesterday.
My question was as follows:
Hi I have an access database that has a text field with example data as
The answer Provided by Ken was
SELECT Mid([FieldName], InStr([FieldName], " - ") + 3) AS Affiliation FROM
TableName;
I have tried using the following:
SELECT Mid([Gamma 0800RatedCDR]![Location], InStr([Gamma
0800RatedCDR]![Location] , " - ") + 3) as Affiliation From [Gamma
0800RatedCDR];
However I get the following error
The Syntax of the Subquery in this expression is incorrect. Check the
subquery's syntax and enclose the subquery in parenthesis
Please can anyone advise.
Many thanks in anticipation
Kind rgds
Colin