Capitalizing first letters of Items catalog descriptions

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2011
Company:

I would like to capitalize first letters of descriptions for all items in Items catalog. Could you advice on how to do so?

 
#2
People who like this:0Yes/0No
Active user
Rating: 4
Joined: Apr 18, 2012
Company:

Code
   Selection = Catalogs.Goods.Select();
   While Selection.Next() Do
      Item = Selection.GetObject();
      Item.Description = Title(Item.Description);
      Item.Write();
   EndDo;

 
#3
People who like this:0Yes/0No
Active user
Rating: 5
Joined: Sep 27, 2011
Company:

That is even better than I needed! Thank you, alexht!

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.