Lookup ID shows up instead of actual value
I have a script that executes on a subform on input of a value. However, when the script executes it is only showing the lookup ID (i.e. 3865374000000736031) and not the actual value (i.e. CTSI).
Can you assist me with getting the actual value to show? Here is a copy of the scrkipt below:
if(row.Product_Name != null)
{
row.Vehicle_Database=input.Assigned_Database;
}
else
{
Vehicle_Database = null;
}
Any assistance to solve this would be appreciated.