1 Reply Latest reply on Nov 14, 2013 6:51 AM by philmodjunk

    search list script on button or on layout

    Maikel

      Title

      search list script on button or on layout

      Post

           My current situation is a script for a button to search comando to influence the list.
           Now my question is this the best solution or I should use a script trigger all OnLayoutEnter
            
           Current situation on button script;
            
           Set Variable [$cloudstatus; Value:CalLopend project]
           Go to layout ["planning" (projecten)]
           Enter find mode []
           Set field [project::projectstatus; $cloudstatus]
           Preform find []
           Enter browse mode []
            

        • 1. Re: search list script on button or on layout
          philmodjunk

               This is not a question we can answer. If you leave it associated with a button, the script is only performed when you click the button. If you use the script trigger, the script is performed every time you enter that layout. But what we can't tell from here is whether this makes any difference or not to your users.

               PS. since Perform find automatically enters browse mode, the last step of your script is not necessary.