Newbies sb_folk_boy Posted September 1, 2004 Newbies Posted September 1, 2004 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.
Garry Claridge Posted September 1, 2004 Posted September 1, 2004 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
Newbies sb_folk_boy Posted September 1, 2004 Author Newbies Posted September 1, 2004 Garry: Worked beautifully! (And looking at your answer, it makes perfect sense.) Peace, N.E.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now