I am trying to correct a logo problem occurring with the Titlecompany record. In order to get this to work I am being asked to set the values for LogoSize and LogoWidthHTML that exist on the company record. I am able to see the field come back to my object in the query of the company lookup code but the object that I have instantiated is complaining that there is no field in the object with that name:
titlecompany.LogoImage = (Image)myRow["LogoImage"].Value; // this works
titlecompany.LogoSize = Convert.ToString(myRow["LogoSize"]); // this throws an error
titlecompany.LogoWidthHTML = Convert.ToString(myRow["LogoWidthHTML"]); // this also throws an error
The exact error is "TitleCompany does not contain a definition for LogoSize"
I am assuming it is because the field is marked hidden in softpro. Is there a way to set the value on hidden fields?