How to prevent CompanyName being formatted.

  • Thread starter Thread starter Shelby
  • Start date Start date
S

Shelby

Hi,

When I set:
olitem.CompanyName = "The Fullerton Hotel"

When I retrieve, it becomes: Fullerton Hotel, The

How can I ensure the CompanyName of a contact is exactly what I've set?

Thanks
 
Is there a person's name in that contact record? If not the company name is
being formatted according to your contact settings in Tools, Options. Most
likely that's LastName, FirstName. See if setting the FileAs field and/or
Subject field to what you want in addition to CompanyName helps. You might
have to set CompanyName then save the item, then set FileAs and Subject and
then save again.
 
Hi Ken,

I've tried what you suggested but it still the same.
I realise that it only happen if the CompanyName starts with "The".
If I set to :
olitem.CompanyName = "Fullerton Hotel"
it remain as it is and not "Hotel, Fullerton".

Shelby
 
I guess that's your answer then. If you can't control it then live with it
and work around it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top