searchRecords in Custom Modules and then updating the found record
searchRecords in Custom Modules and then updating the found record
I am having trouble with how to search for a record with a given input and then updating the found record with a 2nd input. What I am trying to do is to take an input, search for a record in CustomModule3 that has that Name, there will only be one. Then, I want to update the found record with the 2nd input. The issues are in Lines 1 and 4. I've tried many variations and having trouble as I'm not finding much in regards to addressing Custom Modules in functions in the documentation. Thought I'd try the community to see if anyone has tried a similar function that could tell me where I'm going wrong.