7 Replies Latest reply on Jul 24, 2009 12:55 PM by CarrieB.

    Trouble with my script (Related Records

    CarrieB.

      Title

      Trouble with my script (Related Records & Found Sets)

      Post

      Okay, let me see if I can explain this right. I have a button that a user pushes which runs the following script:

       

      Go to Related Record [Show only related records; From table: "my table"; Using layout: "my layout" (my table)]

      Constrain Found Set [Restore]

       

      The constrain found set command finds records that have a specific field that is empty.

       

      My problem is that people are pressing the button before there are related records available and then the script gets all crazy and changes other records and drops you in a different record. So, I am trying to write the script so that it only runs if there are said related records.

       

      Any help is much appreciated!!