You need to sign in to do that
Don't have an account?
chirag.sapkota1.3947268332540498E12
I want change the datatype of a field which is used in trigger. I did it in sandbox but now I cannot do it in production. How can I solve this problem?
It says cannot change field which is used in Apex class or trigger.
Ramu_SFDC
Hi, The only way to fix this is to comment out the field references from all the classes and triggers and change the data type to do this use Eclipse IDE search for the field name in all of your files using eclipse inbuilt search in all files feature. Refer to this document for more information on this feature http://stackoverflow.com/questions/2602114/search-for-all-files-in-project-containing-the-text-querystring-in-eclipse