2 Replies Latest reply on Aug 10, 2015 11:23 AM by philmodjunk

    Find Script Issue



      Find Script Issue


      I'd like to get input on a find script that I'm having a problem with.  The script is part of a button on a portal that when clicked goes to another layout and displays the selected record information.

      The problem is I get an error message "No records match this  criteria" the criteria is set by 2 global fields. Screen shots attached, note that the "Pause" has been taken out, it was only there for testing.





        • 1. Re: Find Script Issue

          second screen shot

          • 2. Re: Find Script Issue

            The layout you are going to is not based on the same table occurrence (box in Manage | Database | Relationships) as the one into which you are specifying find criteria with the set field steps.

            I see: TU01b1_UBDOrders_UniqueLineItems.... in parenthesis in the Go To layout step

            and I see: TU01b1_UBDOrders_UBDConfirm...

            This means that you are searching for records in the first TO's (Table occurrence's) table that have at least one related record via the relationship from the first TO to the second that match the specified search cirtieria.

            I suspect that this means you need either to specify a different layout in the go to layout step or specify different TO's in the Set Field steps.