You need to sign in to do that
Don't have an account?

ObjectToString
How do I convert Objects to String.
e.g.
Object ChildFieldValue = ChildRecord.get('FirstName);
string s = ChildFieldValue1 .toString();
Error: Compile Error: Illegal assignment from Object to String at line 51 column 17
try this
This should solve the issue