Criteria in zoho.reports.updatedata ??

Criteria in zoho.reports.updatedata ??

hi i use the zoho.reports.updatedata deluge task from zoho creator. i would lik to use a criteria depending of an input field value. i dont find the good way to write this criteria wich must be a string....
 
trans1=map();
trans1.put("Agence",input.Agence);
trans1.put("AFFECTATION ANALYTIQUE",input.AFFECTATION_ANALYTIQUE);
trans1.put("LIBELLE",input.LIBELLE);
trans1.put("AFF-CS-PS",input.AFF_CS_PS);

a="AFFECTATION ANALYTIQUE=" + input.AFFECTATION_ANALYTIQUE;
mapResponse = zoho.reports.updatedata("BASE","TABLE",trans1,a);







 
i used too : a="AFFECTATION ANALYTIQUE= '" + input.AFFECTATION_ANALYTIQUE+"'";
 
ty for your help