I am trying to auto populate the Managed by column with user initials when a Property code drop down values is selecte.
if (Add_Property[ID == input.Property_Code].count() > 0)
{
x = Add_Property [ID == input.Property_Code];
//input. refers to fields in current form
input.Property_Managed_By = x.Managed_By;
}
Looks like it is trying to assign a numeric value to input.Property_Managed_By text field.
Any help appreciated.