Is_FM_Go_iPad
Returns 1 if running FileMaker Go on an iPad.
Average rating: 4.1 (38 votes) Log in to vote
Mark DeNyse - Show more from this author
Driftwood Interactive http://DriftwoodInteractive.com |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Returns 1 if running FileMaker Go on an iPad.
Comments
Bart Bartholomay, Vero Beach, FL Jul 24, 2010 |
||
Why not: Get(ApplicationVersion) = "Go_iPad" |
||
Bart Bartholomay, Vero Beach, FL Jul 24, 2010 |
||
Sorry. to catch any version number: PatternCount(Get(ApplicationVersion); "Go_iPad") |
||
Bart Bartholomay, Vero Beach, FL Jul 24, 2010 |
||
A little more thought to it: For the iPad: Exact(LeftWords(Get(ApplicationVersion); 1) ; "Go_iPad") For the iPhone/iTouch: Exact(LeftWords(Get(ApplicationVersion); 1) ; "Go") |
||
David Weaver, Australia May 2, 2012 |
||
Using LeftWords simply returns "Go" as the underscore is recognised as a word separator. You need to use PatternCount as described in the custom function to make this work. | ||
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.