Problem with fetch

Problem with fetch

I have an employee database and puting in employee information in another form. So obviously i am looking to autopoulate ID field automatically when a name is selected from a dropdown. 
So after watching a few fetch and set variables tutorials i am still unable to find out what the problem is with my form. 
I am unable to give the condition employee name==input.employeename because employee name is in numeric field. I am not sure why this is the case because it is a string field.

Please help. It is driving me crazy