Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Capitalizing first letters of Items catalog descriptions

Forum

Search UsersRules
Capitalizing first letters of Items catalog descriptions
#1
Active user
Points:: 0
Joined:: Sep 27, 2011

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

Profile
#2
Active user
Points:: 0
Joined:: Apr 18, 2012

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

Profile
#3
Active user
Points:: 0
Joined:: Sep 27, 2011

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

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.