Re: Change field length in V3.0? by Jeffry
Jeffry
Thu May 18 02:31:48 CDT 2006
From the online help:
nvarchar
Text. You must specify the type of text: Text, Text area, E-mail, URL, or
Ticker Symbol, and the maximum length. Text attributes are limited to 4000
characters.
The maximum length cannot be changed after the attribute is created. When
you are editing an existing attribute, any value you specify in Maximum
Length only affects the display size in the user interface, and not the
length of the attribute in the database. If you need to change the length of
an attribute in the database, you must delete the original attribute and add
a new one. Note that this will delete all data stored in the original
attribute.
So, changing the maximum length only affects the display size, not the
database field. This is a bit confusing and can cause errors because you can
increase the maximum length in the UI so that people can type in text that's
longer than the database field.
HTH,
--
Jeffry van de Vuurst
CWR Mobility
www.cwrmobility.com
--
"SteveT" <drumguy61-google@yahoo.com> wrote in message
news:1147899650.473340.154100@38g2000cwa.googlegroups.com...
>I have a situation where we are trying to map address info from a
> custom entity to the contact entity. Problem is that they address field
> for the custom entity was created with only 50 char in length and the
> address field in contact entity that we are trying to map to is of
> course 100 chars long. So, if you go to the address attribute in the
> custom entity it appears that you can change it from 50 to 100....it
> lets you save that change....BUT, when you try to map the two fields it
> still throws the message about not being able to map the fields
> because they aren't identical, etc.... We have made sure to publish the
> changes etc but still does not work....ideas?
>
> is it that you just can't change the length even though in the UI it
> appears that you can????
>