Brian Dunning's FileMaker Custom Functions


An easy way to tell is the device is in Landscape.

  Average rating: 4.5 (22 votes) Log in to vote

Gabe Becker   Gabe Becker
MC Services

Share on Facebook Share on Twitter

  Sample input:
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

This custom function returns a 1 is the device is in Landscape, and a 0 if it is not.



Bernard Moreau   Bernard Moreau, Belgium
Sep 16, 2015
Nice, Gabe.
In the Description : You probably mean "Landscape" (and not "Portrait") when the function returns 1, isn't it ?
Gabe Becker   Gabe Becker, Pewaukee, WI
Sep 16, 2015
Ah, yes. Thanks for catching that!

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: