2 Replies Latest reply on Jul 6, 2015 9:49 PM by philmodjunk

    Find via script not working

    denno

      Title

      Find via script not working

      Post

      Need some troubleshooting help.

       

      I am trying to create a script that will find a record. The layout name is Leader Rounding Responses_iPad for the table Responses. The search field I want to specify in this layout is Responses::_fk_RespondentID.

       

      I can do a manual search and enter a value in that field and retrieve the desired records. I created the attached script but get an error that the provided find criteria is not valid.

       

       

       

      2015-07-05_06-55-12.png

        • 1. Re: Find via script not working
          keywords

          Not much information here. I tried the essentials of your script on a test file and it works OK. Try this test: change your script to find on a different field with simple content to search; this will indicate whether the script is capable of doing what you want.

          • 2. Re: Find via script not working
            philmodjunk

            Show custom dialog used like this usually has at least two buttons so that the user can choose to cancel out of the find. Each button you choose to use of the 3 possible can be set (or not be set) to commit records when the button is clicked. Did you select the "commit" option for the button that dismissed the dialog in order to perform the find?