Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8399 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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]

Posted

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

This topic is 8399 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.