August 20, 200124 yr I need to perform a search across every row in a portal to see if it contains a certain value "ERR". If it finds the value in any of the rows, I need it to return a # value equal to the # of times "ERR" appears. I'll be using this in an If, Else script. If "ERR" appears > 0 a comment window appears, else a text field value is set. I've got a working script that will search through the first row in the portal but I can't figure out how to make it jump down to search through the rest of the portal rows. There will only be approx. 8-10 rows to search. Any ideas?
August 21, 200124 yr I'd suggest doing the search from within the related records: search for the error code AND the master key. The count will just be the number of records found.
Create an account or sign in to comment