Jump to content

-find crashed FM if not an exact match


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

Recommended Posts

It seems that if I do a -find on my form using a text box, and if the -find does not match any records, instead of the -error page loading, FM Unlimited just unexpectedly quits.

If I do a -find and it does match a record, not a problem, it continues on to the -format page.

This one has me confused. I have tried hosting the files a various machines, and the problem exists on all of them. It seems to not be consistent though. It crashes about 80% of the time.

<FORM ACTION="FMPro" METHOD="post" name="Find">

<INPUT TYPE="hidden" NAME="-db" VALUE="Research.fp5">

<INPUT TYPE="hidden" NAME="-lay" VALUE="Main">

<INPUT TYPE="hidden" NAME="-format" VALUE="surveyredirectintro.html">

<INPUT TYPE="hidden" NAME="-error" VALUE="surveyerror.htm">

<INPUT TYPE="hidden" NAME="-op" VALUE="eq">

<INPUT class="class" TYPE="text" NAME="Login">

<input type="submit" name="-Find" value="Continue">

I tried taking out the -op, but that did not chage anything. Still crashes if the -find does not find a match.

Anyone see anything like this?

LR

Link to comment
Share on other sites

Always nice to have a fresh perspective.

My error page is a simple html page with some text saying that no results were found. Such a simple html page that there is no way it could be the problem. But of course I never discount anyones suggestions in this forum.

So I created a new error html page with absolutely nothing on it. And what do you know...the crashing stopped. Now if the -find comes up empty, instead of crashing about 80% of the time, it just goes to the error html page.

So indeed, although I am clueless to determine why the original error page was causing the crashing...it surely was.

Thanks so much for the tip.

LR

Link to comment
Share on other sites

This topic is 7092 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.