In my database I have a field that contains client Company names. One of its uses is as a data source used in mail merge. There are names that end with a period, ie "Company, Inc." In some instatnces the field needs to be at the end of a sentence, which ends in a period. Useing this code I can check the last character to see if it is a period.
I think I need to use RTRIM Where it now shows "Period", But I have had no luck with the syntax. All Help is appreciated. Thanks
Alan
Senility at its finest
Code:
IIf(Right([QAMAIN].[COMPANY],1)=".","Period","Not Period") AS Test
Alan
Senility at its finest