Jump to content
Server Maintenance This Week. ×

Searching Across the Entire Portal


This topic is 8285 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 8285 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.