Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Aborted Script, return to original layout when No records match this find criteria


merritte
 Share

Recommended Posts

I am running a script that takes you from one table layout to related table layout to input or review information. If the related record has not been created I get the error dialog box stating, "No records match this find criteria." Is there a simple fix for this that would return me to the original input page after clicking "Continue?"

Link to comment
Share on other sites

Use the script step "Set Error Capture [On]" ahead of the logic that finds the records (or actually does NOT find the errors), like this:

 

Set Error Capture [On]

**other script steps"

If (Error)

...Go to Layout [MainPage]

End If

 

Test script (as it has been a long time since I have used an error capture script step)

 

 

Edit: There are a list of FileMaker error codes listed in these forums (run a search), so it is possible to use several "If --End If" segments in the script that direct the user to different layouts or fixes depending upon the error code.

Link to comment
Share on other sites

 Share



×
×
  • Create New...

Important Information

Terms of Use