stanmcb

Problem: Program can’t differentiate between ipad & iPhone given example1 below.

Discussion created by stanmcb on Jun 20, 2014
Latest reply on Jun 21, 2014 by Mike_Mitchell

Program created on FMPro Advanced v12

 

FileMaker GO 13. When running FMGO, the iPad performs script #1. iPhone works as programed

 

However, if I switch PatternCount….. "Go" = " Go_iPad ", ….. "Go_iPad" = " Go ", programs works fine

 

Q: Is this supposed to work this way or is this an oooops?

 

Example 1- Script to determine ios device:

 

IF(PatternCount ( Get ( ApplicationVersion ) ; "Go" ) = 1

Perform Script #1

 

Else

 

IF(PatternCount ( Get ( ApplicationVersion ) ; " Go_iPad " ) = 1

Perform Script #2

 

End If

End If

 

Thanks in advance for your input

Outcomes