Jump to content

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

Recommended Posts

Posted

I have a strange behaviour of the following code:

<HTML>

<BODY BGCOLOR="#FFFF33">

<a href="FMPro?-DB=webexpert&-Format=M1Ebackup1.htm&-RecID=[FMP-currentrecID]&RecNr=1&-Edit">Back

<a href="FMPro?-DB=webexpert&-Format=M1Ebackup1.htm&-RecID=[FMP-currentrecID]&RecNr=2&-Edit">Next

<P><FORM name="myform" ACTION="FMPro" METHOD="POST">

<P><INPUT TYPE="hidden" NAME="-DB" VALUE="Webexpert">

<INPUT TYPE="hidden" NAME="-Lay" VALUE="L2">

<INPUT TYPE="hidden" NAME="-Format" VALUE="M1Ebackup1.htm">

<INPUT TYPE="hidden" NAME="-Error" VALUE="record_detail_error.htm">

<INPUT TYPE="hidden" NAME="-recid" VALUE="[fmp-currentrecid]"></P>

<CENTER>&nbsp;</CENTER>

<P><TABLE BORDER=1 align="left">

<TR>

<TD WIDTH=231>

<P>[FMP-FIELD: showinfo::question]</P>

</TD>

<TD>

<P>[FMP-FIELD: RecNr]</P>

</TD>

</TR>

<P><INPUT TYPE="image" src="calcbutton.gif" NAME="-Edit"></P>

</FORM>

</BODY>

</HTML>

showinfo::question is a relation based on the field RecNr.

If i press the "back" link the value is set to 1

if i press the "next" link the value is set to 2.

I can see that the FMPro? action is done, the value is changed. I can see on the server that RecNr and the portal (showinfo::question) is update. However in my browser the portal field is not visible.

Then when i press calcnutton.gif as by magic the correct portal value appears again.

What i don not understand that both commands (href and the submit button) use the same layout (M1Ebackup.htm) but with both different results.

In fact after the href action only the direct field in the database are visible in the browser and not the related field.

What am i missing about href command?

Thanks

Jitse

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