JitseSchaafsma Posted March 14, 2003 Posted March 14, 2003 I have been strucggling with the FMP-IF command and also read (nearly) all posts. I am not sure about the syntax which makes troubleshooting very hard. This one seems to work: [FMP-If:RecNr.eq.'1'] niks dus [/FMP-If] because recNr is a integer. But how about this one: [FMP-If:nav.eq."00"] niks dus [FMP-ELSE] KLKK [/FMP-If] Is that the correct syntax is nav is a text field. and is "00" correctly in this case? I have also seen in this forum using { } around field names. Can anyone show me some light in this [FMP-If] tunnel thanks Jitse
Garry Claridge Posted March 14, 2003 Posted March 14, 2003 Try this: [FMP-If:RecNr.eq.1] niks dus [/FMP-If] and this: [FMP-If:nav.eq.00] niks dus [FMP-ELSE] KLKK [/FMP-If] Quotes are not used, i.e. no ' nor ". All the best. Garry
JitseSchaafsma Posted March 14, 2003 Author Posted March 14, 2003 In addition : how about an or statement in the FMP-IF statement (* i know this is not correct, but how then? *) [FMP-If:{nav.eq.10 or nav.eq.11}] thanks jitse
Garry Claridge Posted March 15, 2003 Posted March 15, 2003 This is from the TechInfo article: http://www.filemaker.com/ti/106550.html on the www.filemaker.com site: [FMP-If: (Field:name.Eq.david).or.(Field:name.Eq.dave)] Welcome David! [FMP-ElseIf: Field:name.Eq.eric] Hi Eric! [FMP-Else] Hi Stranger! [/FMP-If] All the best. Garry
JitseSchaafsma Posted March 15, 2003 Author Posted March 15, 2003 Thanks gary, The ref is very welcome I am getting to know CDML better all the time with this help Cheers Jitse
Recommended Posts
This topic is 7993 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