larine Posted January 23, 2008 Posted January 23, 2008 Hello, I have created a script for my DB so that when a search comes up with no results, a dialog box comes up stating that no results were found. However this script is not compatible with IWP. Anyone have any suggestions for alternate solutions? This is what I have currently: Set Error Capture [On] Perform Find [Restore] If [Get(FoundCount) = 0] .. Show Custom Dialog ["No results were found for your search request"] End If Thanks!
Attiton Posted January 29, 2008 Posted January 29, 2008 I have found that the best way to do this in IWP is to create a layout that explains the error. So, after the "If (Get(FoundCount)=0)" part, do a "Go to Layout" step that takes them to a layout that just provides the explanation...don't forget to provide a button that allows them to return to where they started.
Recommended Posts
This topic is 6411 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now