Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Can global fields be updated via the web? And if so, does the method differ from updating text or number fields? The following code has no effect on the year1 and year2 global fields:

<FORM ACTION="FMPro" METHOD="POST">

<INPUT TYPE="hidden" NAME="-db" VALUE="ProgramInformation">

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

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

<TABLE>

<TR>

<td>Year 1</td>

<td><INPUT type="text" size=5 maxlength=4 name="year1"></td>

<td>Year 2</td>

<td><INPUT type="text" size=5 maxlength=4 name="year2"></td>

</TR>

</TABLE>

<p>

<INPUT TYPE="Submit" NAME="-edit" value="Continue">

<INPUT TYPE="Reset" VALUE="Clear form">

</FORM>

Posted

"Can global fields be updated via the web?"

I don't know the answer to that question. However I do note that you are performing an -edit action.

"Other tags that are required: -db, -recid, field name" (CDML Reference).

Where is your -recid?

Posted

> I don't know the answer to that question.

It's yes, as I just discovered.

> However I do note that you are performing an -edit action.

> "Other tags that are required: -db, -recid, field name" (CDML Reference).

> Where is your -recid?

I tried using [FMP-CurrentRecID] with code above, but -1 was returned. However, by switching from -view to -finall on the page previous to the above, a proper Rec ID was returned.

Thanks for your help!

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