Home     |     MS SQL Server    |     MS SharePoint    |     MS Visual Studio    |     MS Certifications    |     MS CRM     |     MS Office    |     MSF


Cervo Technologies
The Right Source to Outsource

microsoft.public.crm

resize textbox


Hi there, I'm struggling to resize the textbox on the MS CRM form. for
instance initial field- max 2 characters.Can anyone help. Thanks in advance
--
donn
Go to attributes and edit the Max Length value of the textbox in question.

Regards

Steve

I'd like to make a quick mention here about past experience with
resizing text boxes.

If you are inserting data from .NET applications, and you change the
maximum length for a text field within CRM from, say, 6 characters to
7 characters, and then you try and put 7 character data in,
WebServices might fail with a SOAP Exception with the error message
of, "Server is unable to process this request".  This especially
useless error message will mean nothing to you if you only check CRM -
CRM will say "maximum length: 7 characters", which is what you were
using.  However, if you go into the database and check out the table
information, it will still say 6 characters as the maximum length for
the column.

So why did this happen?  I'm not 100% sure where it's stored, but I
belive that CRM stores the length of fields in the Metabase database
it uses, probably in the same location that it stores the default
values.  And the solution?  Delete the field from the CRM
customisation area and recreate it with a longer length than what you
had before.  That's the only reliable, 100% guaranteed way to increase
the size of a text field.  Of course, I would test it by just
increasing the length within CRM and then doing data input first
(since if you delete the field you will lose the data in there), but
if that fails at least you know why.

To be honest I never tried entering data from within CRM after we had
lengthened the field, because the field I was changing was disabled on
the main form and my program was the .NET application for data entry.
However, I have the distinct feeling that CRM would have thrown an
error that was equally useless...

Kris Rhodes
----
MS CRM Certified (Installation & Configuration, Customisation)
CRM 3.0/VB.NET 1.1 Developer
Quantum Business Technology
Perth  West Australia
Blog: http://rhodeskc.wordpress.com

This information is intended to be advice and advice only.

On May 9, 6:48 pm, Steven Cheng

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc