March 14, 200322 yr 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
March 14, 200322 yr 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
March 14, 200322 yr Author 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
March 15, 200322 yr 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
March 15, 200322 yr Author Thanks gary, The ref is very welcome I am getting to know CDML better all the time with this help Cheers Jitse
Create an account or sign in to comment