AnsweredAssumed Answered

Startup script for iPhone

Question asked by TimPuttock on Nov 3, 2015
Latest reply on Nov 4, 2015 by TimPuttock

I'm new to Filemaker and I'm tasked with trying to build a product database which is also compatible with iPhone.  I'm trying to write a script which will make a layup be the default layup when opening the database with Filemaker Go on the iPhone.  The script reads:

 

If [PatternCount ( Get (ApplicationVersion) ; "Go" ) = 1]

   Go to Layout ["IPhone 1" (Product Database)]

Else

  Go to Layout ["Product Database" (Product Database)]

End If

 

However this is doing nothing and when I open up with Filemaker Go it still opens the "Product Database" layout.

 

What am I doing wrong?

 

Tim

Outcomes