for some reason my Left([CCCode],2) is not working after my excel file has been imported into a table. How can I fix this
for some reason my Left([CCCode],2) is not working after my excel file has been imported into a table. How can I fix this
More information please. We can't see what you are doing, you have to tell us.is not working
More information please:
- what it looks like before
- what it looks like afterwards
- data type of field
- what does not working mean
if your field is null (has no length) the right function will bomb out
try something more like
iif(len([ccode]) >2, left([ccode],2), null)