Fetch Record using Auto Number Field

Fetch Record using Auto Number Field

Hi there

I am new to Zoho and have successfully used the 'fetch record' to get fields from one form into another using Set Variable

BUT, I am trying to populate a form using the AUTO Number field in the Fetch Record script., but it won't work,. I have made it work by using the ZohoID, but this is a big number, and would rather use the auto number which starts at 2014

here is the script that doesn't work (where incident ID is the auto number field )

IncID = Report_Incident_or_Serious_Harm[Incident_ID == input.Incident_ID];
Name_of_iNJURED=IncID.Your_Name;

Here is the one that does

x  =  Report_Incident_or_Serious_Harm  [ID == input.ID1];
input.Name_of_iNJURED = x.Your_Name;

Thanks in advance