1 Reply Latest reply on Nov 6, 2009 3:11 AM by raybaudi

    Simple script to revert back to original layout if no records are found.

    melton

      Title

      Simple script to revert back to original layout if no records are found.

      Post

      hey guys,

       

      i have a simple script to search for a record with the current date, and list the found records. The problem is, if no records are found, it asks me to modify find, continue or cancel.

       

      what i want it to do is cancel the find automatically as it would go back to the original layout.

      what i have at the moment is:

       

      enter find mode[]

      insert text[text and field here...]

      perform find[]

      go to layout["list view"(contact)]

       

      if records are found, it works fine, but what i want it to do is go back to 'form view' if no records are found without me manually needing to press the 'cancel' button....

       

      Thanks.....