Jump to content

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

Recommended Posts

  • Newbies
Posted

I'm updating fields in a database, sdoprej.fp5, and once the user has submitted their updates, I want to turn off (change it from 1 to 0) a field, "prime", in a second database, sdoconsent.fp5. So I set up nested inlineactions. The outermost inline finds the correct record using the "studentid" field which is passed to the inlineaction via -token.3. Then all I want to do is to set the field "prime" to 0. But this isn't working? Here is my current inline code:

[FMP-InlineAction: -db=sdoconsent.fp5, studentid="{CurrentToken:3}", -find]

[FMP-InlineAction: -db=sdoconsent.fp5, {field:prime=0}, -edit]

[/FMP-InlineAction]

[/FMP-InlineAction]

Thanks for your help...

Peace,

N.E.

Posted

Try this:

[FMP-InlineAction: -db=sdoconsent.fp5, studentid="{CurrentToken:3}", -find]

[FMP-InlineAction: -db=sdoconsent.fp5, prime="0", -recid="{CurrentRecID}", -edit]

[/FMP-InlineAction]

[/FMP-InlineAction]

All the best.

Garry

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