2 Replies Latest reply on Jun 16, 2010 6:49 AM by ianmanning

    Problem in a pop up message using script

    SYLim

      Title

      Problem in a pop up message using script

      Post

      Hi Experts,

       

       

      I  am using FM11 on Win XP

       

      I am a novice  at filemaker and was having a problem wilh my script. This script is supposed to generate a pop up dialog box  relating to the prospects met and the time due in a to do list but somehow it did not work. It takes the wrong record and shows the wrong time as well.  Click the link to view the screenshots

       

      http://picasaweb.google.com/105518519749634360695/Desktop?authkey=Gv1sRgCPC6poP08rzwbQ&feat=directlink

       

       

      Please shad some light on this thanks

       

      SY Lim

        • 1. Re: Problem in a pop up message using script
          Mystick

          I am not sure I understood correctly what you are trying to do...

          this script is run when you open the layout ?

           

          how it is fired ?

           

          me I would display the values inside the dialog box without using the gotonthrecord function. You need only to display the currently active record.

          • 2. Re: Problem in a pop up message using script
            ianmanning

            You are using the $$Counter to reference two different records in two different tables. I suspect that the the portal is finding the related time using a diferent criteria than nthrecord as nthrecord is relative to the found set.

            Have a look at the two tables and change to the nth record in both tables what name / time do you see? Change the sort order found set etc and the results will change.

            Make sure you pull the data from the same table or use the relationship to get the related information from the second table.

            I hope this helps or at least points you in the right direction.

            Regards

            Ian