Hello,
I have a field with given names such as :
Mrs Gordon
Mrs Doyer
King
Larry
I would like to remove only the Mrs title in the field in order to have only the given names without the title Mrs :
Gordon
Doyer
King
Larry
So far I tried a update query :
UPDATE [Copy Of matched uptake_OASP1208] SET [Copy Of matched uptake_OASP1208].GIVEN_NAME = Left([Copy Of matched uptake_OASP1208]![GIVEN_NAME],3)=" "
WHERE ((Left([Copy Of matched uptake_OASP1208]![GIVEN_NAME],3)="mrs "));
It doesn't work. It returned 0. It seems my rational is not good in my SQL.
Any helps would be welcome.
I have a field with given names such as :
Mrs Gordon
Mrs Doyer
King
Larry
I would like to remove only the Mrs title in the field in order to have only the given names without the title Mrs :
Gordon
Doyer
King
Larry
So far I tried a update query :
UPDATE [Copy Of matched uptake_OASP1208] SET [Copy Of matched uptake_OASP1208].GIVEN_NAME = Left([Copy Of matched uptake_OASP1208]![GIVEN_NAME],3)=" "
WHERE ((Left([Copy Of matched uptake_OASP1208]![GIVEN_NAME],3)="mrs "));
It doesn't work. It returned 0. It seems my rational is not good in my SQL.
Any helps would be welcome.