Changing field length of a text field

By | December 29, 2008

Yes, we can easily change the field length of an existing text field. We will have to just make changes in the component file. Here, for example, we have changed the field length of the text type field (i.e. “Test”) from 20 to 30.

FamilyType=’Tags’;
Family=’ColNames’;
Code=’comp_test’;
Captions[‘US’]=’Test’;
AddCaption();

AddColumn(‘Company’,’comp_test’,’10’,’(30)‘,’true’,’false’);
var EditsId11144 = AddCustom_Edits(‘Company’,’comp_test’,’10’,’0′,”,’20’,”,”,”,”,”);
AddCustom_Data(‘Custom_Edits’,’ColP’,’ColP_ColPropsId’,’ColP_ColPropsId,ColP_TiedFields,ColP_Restricted,ColP_DataType,ColP_DataSize’,EditsId11144+’,”,”,””,”4″,”30″‘,’1’)

You can make the changes highlighted in bold in your ES file for that field to increase its length to 30. Run this ES file as a component file and now its length will be increased to 30.

About Us
Greytrix a globally recognized Premier Sage Gold Development Partner is a one stop solution provider for Sage ERP and Sage CRM needs. Being recognized and rewarded for multi-man years of experience, we bring complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.

Greytrix has some unique integration solutions for Sage CRM with Sage ERPs (Sage Enterprise Management (Sage X3), Sage Intacct, Sage 100Sage 500 and Sage 300).We also offer best-in-class Sage ERP and Sage CRM customization and development services to Business Partners, End Users and Sage PSG worldwide. Greytrix helps in migrating of Sage CRM from Salesforce | ACT! | SalesLogix | Goldmine | Sugar CRM | Maximizer. Our Sage CRM Product Suite includes Greytrix Business Manager, Sage CRM Project Manager, Sage CRM Resource Planner, Sage CRM Contract Manager, Sage CRM Event Manager, Sage CRM Budget Planner, Gmail Integration, Sage CRM Mobile Service Signature and Sage CRM CTI Framework.

Greytrix is a recognized Sage Rockstar ISV Partner for GUMU™ Sage Enterprise Management – Sage CRM integration also listed on Sage Marketplace.

For more information on our integration solutions, please contact us at sage@greytrix.com. We will be glad to assist you.