• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

@propercase to change fields in a dB

I have a db that has the city and county that are all uppercase, I know I can use an agent to change the fields to propercase.

So I wrote the following very quick and easy agent, now as you can tell development is not only NOT my forte but I never ever do it!

@ProperCase (County);
SELECT @All

However, when I run it against forms it does nothing I am sure I am missing something, I want it to replace the Word SUFFOLK in the field County to Suffolk.

Thanks,
Michael
0
mwebb_sdmc
Asked:
mwebb_sdmc
  • 2
  • 2
1 Solution
 
CRAKCommented:
Try:

Field County:=@ProperCase (County)
0
 
mwebb_sdmcAuthor Commented:
That doesn't change the field.
0
 
CRAKCommented:
This is still the agent?
Is it running on e.g. selected documents?
0
 
mwebb_sdmcAuthor Commented:
Yes that is correct.  Agent running on select set of documents.  Oops works I spelled it incorrectly county = country works now thanks..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now