The Bridge Posted November 16, 2001 Share Posted November 16, 2001 You can specify a page to return if there are any errors by adding the -Error=<filename> tag to your link. This can be the same file as your -Format file; use the FMP-CurrentError tag to test for errors. e.g. [FMP-If:CurrentError.eq.401]No records found[/FMP-If] Or you can use [FMP-If:CurrentFoundCount.eq.0]No records found[/FMP-If] Link to comment Share on other sites More sharing options...
clevow Posted November 16, 2001 Share Posted November 16, 2001 Thank you much! Link to comment Share on other sites More sharing options...
The Bridge Posted November 17, 2001 Author Share Posted November 17, 2001 Glad I could help! Link to comment Share on other sites More sharing options...
clevow Posted November 17, 2001 Share Posted November 17, 2001 I've found that if you perform a find and no records are returned that you get a pop-up error message and then are referred back to the previous URL that you were at. Is there any way around this? My problem is that I'm using a perl script to pull a user ID from our campus authentication scheme. The user ID is then inserted (in the perl script) into a URL that performs a find in FileMaker on that user ID. If no records are found then I want a web page returned that will allow the user to enter a new record. Actually, I want the same page that would return if there were records found. I think the essence of it is that I want to be able to specify the error page returned in the URL. Any thoughts? Thanks, Carrie Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8195 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