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

    Find Script Issue

    rtolliver

      Title

      Find Script Issue

      Post

      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.

       

       

       

      Screen_shot_2015-08-10_at_12.25.11_PM.png

        • 1. Re: Find Script Issue
          rtolliver

          second screen shot

          • 2. Re: Find Script Issue
            philmodjunk

            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.