Simple script to revert back to original layout if no records are found.
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...]
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....