Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

2 conditions for if statement???

Featured Replies

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]


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).]

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.