Solved

@propercase to change fields in a dB

Posted on 2006-07-05
4
226 Views
Last Modified: 2013-12-18
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
Comment
Question by:mwebb_sdmc
  • 2
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
CRAK earned 250 total points
ID: 17045380
Try:

Field County:=@ProperCase (County)
0
 

Author Comment

by:mwebb_sdmc
ID: 17045397
That doesn't change the field.
0
 
LVL 13

Expert Comment

by:CRAK
ID: 17045427
This is still the agent?
Is it running on e.g. selected documents?
0
 

Author Comment

by:mwebb_sdmc
ID: 17045481
Yes that is correct.  Agent running on select set of documents.  Oops works I spelled it incorrectly county = country works now thanks..
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now