Question

I am trying to create a calculated field in one of my database tables, but I keep getting the error

Error Validating the formula for column FullName

I am not trying to incorporate other calculated fields so this should work.

I'm using SSMS 2008 R2 with a SS2005 back end.

So in the formula field I've tried:

Trim([dbo].[Contact].[FirstName] + ' ' + [dbo].[Contact].[LastName])

and

Trim([FirstName] + ' ' + [LastName])

Not sure what the problem is. Any help would be much appreciated.

Thanks!

~DJ

Was it helpful?

Solution

Try this:

rtrim(ltrim([FirstName] + ' ' + [LastName]))
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top