AnsweredAssumed Answered

A script with find that does not stop when it does not find the record

Question asked by annacaltech on Jun 3, 2009
Latest reply on Jun 3, 2009 by mrvodka

Title

A script with find that does not stop when it does not find the record

Post

Hi,

 

I am setting up a script (for a button) that should take my field content from the first layout and go to a second table and search if it has related records there. If so, it should take another fields content from the second table and paste that in in a field in the first layout. I have gotten this to work as long as the record has a related record in the second table. But as not all records in the first layout has related records in the second table I get trouble when I try to run the script for them to. If I do, a window comes up saying that no records were found and asks if I want to modify the search. How do I turn that off? Meaning if it does not find a related record it should just "do nothing". 

 

Thanks,

anna 

Outcomes