AnsweredAssumed Answered

Find mode in a script

Question asked by manuelruizga on Jun 23, 2018
Latest reply on Jun 24, 2018 by manuelruizga

Hi all,


I have two questions regarding Find mode in a script. Let see if someone help. I have the following script:


Find mode 1.PNG

In this example, $encargo = 1


1- When this script is trigered, and $encargo = 1, I get a found set of all records with 1 in that field. For example, It will also find records where "JT_procedimiento_DOCUMENTACION::_encargo_fk = 10" or "JT_procedimiento_DOCUMENTACION::_encargo_fk = 11". How Can I make it to only find those records with "JT_procedimiento_DOCUMENTACION::_encargo_fk = 1"?


2-When no record is found I get this error message:

Find mode error.PNG

Is there any way to avoid this? I don't want any error message to pop up.


Thank you all in advance.