Solved

MS CRM 4.0 postal code field won't except 0 as first number

Posted on 2012-03-14
10
519 Views
Last Modified: 2012-03-26
I just noticed that CRM removes the first character of a zip code if it is a Zero. This is a problem because there are states such as NJ and RI that have zero as the first number in the sequence.

I was wondering does anyone know how to make CRM leave the first zero there?
0
Comment
Question by:bigjdve
  • 5
  • 3
  • 2
10 Comments
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 37722173
Hi bigjdve,

How about using a text datatype? I think you tried with a number datatype.

Regards,
Chinmay.
0
 
LVL 3

Author Comment

by:bigjdve
ID: 37722185
I have looked at that since that would be the way to fix it in Excel. However in CRM that field is predetermined and is set as a NVARCHAR.
0
 
LVL 27

Expert Comment

by:Chinmay Patel
ID: 37722283
Could you take a screen shot of the attribute and post it here?
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 3

Author Comment

by:bigjdve
ID: 37722480
Here is the screenshot.
attribute.docx
0
 
LVL 27

Assisted Solution

by:Chinmay Patel
Chinmay Patel earned 250 total points
ID: 37728652
Can you check if someone has inserted custom script on this field?
0
 
LVL 3

Author Comment

by:bigjdve
ID: 37748611
Nobody has made any changes to this particular field.

Any nvarchar field that you create by default will remove any 0 from the beginning.

I am trying to find a way to not have  that happen.
0
 
LVL 29

Assisted Solution

by:Feridun Kadir
Feridun Kadir earned 250 total points
ID: 37748649
That is definitely not normal behaviour for Dynamics CRM. Are you saying this happens to any field that you create of type nvarchar?
0
 
LVL 3

Accepted Solution

by:
bigjdve earned 0 total points
ID: 37749406
It looks like I found the issue.

The attribute was set to IME_Mode = inactive

I set it to IME_Mode = auto

and now it is working.

I compared against a couple other Nvarchar fields and found the one difference listed above and tried it.

Now it works.
0
 
LVL 29

Expert Comment

by:Feridun Kadir
ID: 37749716
Amazing, IME stands for input method editor and I thought it was only relevant for languages with complicated character sets. I've never changed the setting from auto but I'm surprised that setting it to inactive has the effect that it does.  One to remember.

Thanks for the points - a fair allocation.
0
 
LVL 3

Author Closing Comment

by:bigjdve
ID: 37764974
Feridun - I am giving you 1/2 the points as your comment got me to look more closely at all of the settings on the field.

Chinmay_patel - I am giving you 1/2 as well.

After seeing comments from both experts, I was able to fix the issue myself.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Problem: You created a new custom form in Outlook for your contacts (added fields, deleted fields, changed the layout of fields, whatever) and made it the default form for contacts. The good news is that all new contacts will utilize the new form. T…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

831 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