Auto Fill forms from other forms' data

Auto Fill forms from other forms' data

Hi, 

I've tried following the exact same code as given on your help page here, for the application - 

if (count(Customer [ID == input.Customer_Number]) >0)
{
temp = Customer [ID == input.Customer_Number];
input.Customer_Name = temp.Name;
input.Plot_Number = temp.Plot_no;
input.Address = temp.Address;
input.E-mail = temp.Email;
input.Phone_number = temp.Phone;
input.Post_Code = temp.postcode;
}

But I get an Error at line no 1. Improper Statement

Please let me know how to fix this. Thank You.