September 1, 200421 yr Newbies 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.
September 1, 200421 yr 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
September 1, 200421 yr Author Newbies Garry: Worked beautifully! (And looking at your answer, it makes perfect sense.) Peace, N.E.
Create an account or sign in to comment