elvis_impersonating_penguin Posted December 15, 2000 Posted December 15, 2000 is there anyway to have 2 conditions in an if statement... like code: [FMP-IF: this=that and what=where] display some stuff [FMP-ELSE] dont display the stuff [/FMP-IF] or would it be easier just to use nested if statements: code: [FMP-IF: this=that] [FMP-IF: what=where] display some stuff [/FMP-IF] [FMP-ELSE] dont display the stuff [/FMP-IF]
Simonpennington Posted December 15, 2000 Posted December 15, 2000 The code you use is [FMP-If: (Field:country.Eq.us).or.(Field:country.Eq.usa)] Welcome citizen! [FMP-ElseIf: Field:country.Eq.texas] Howdy, Pardner! [/FMP-If] I also assume that the .or. can be replaced with .and. although i haven't tried it. This is taken straight from the CDML reference file that comes with Filemaker 5 developer. So it may be v5 only. I do wish filemaker would allow us to put the cdml reference file up on a website for download as it really answers probably 60% or higher of the questions asked on this discussion forum. It seems really daft that they would have this capability in filemaker and then not give you any references with which to use it. If it was only something that came with developer I would understand but it doesn't even come with unlimited either which is a web specific version of filemaker v5. Anyway hope this helps. Simon [This message has been edited by Simonpennington (edited December 15, 2000).]
Recommended Posts
This topic is 8820 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