dbTalk Databases Forums  

FileMaker Go: Detecting whether user is using iPhone

comp.databases.filemaker comp.databases.filemaker


Discuss FileMaker Go: Detecting whether user is using iPhone in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tim D.
 
Posts: n/a

Default FileMaker Go: Detecting whether user is using iPhone - 09-04-2010 , 07:54 PM






Hello all,

So I've recently been working with FileMaker Go. They include a sample
file when you buy the app, called Sample Inventory. This has a great
script built in that detects whether the user is on an iPhone or a
desktop. The script includes this:

If [TestForiPhone]
Go to Layout ["Record Detail-iPhone" (Inventory)]
Set Variable [$$LayoutSize; Value:"Mobile"]
Adjust Window [Resize to Fit]

The part that I'm unable to transplant to my own database is the
"TestForiPhone" calc. Mine automatically changes it to "/
*TestForiPhone*/", and when I remove the */, it says "The specified
table cannot be found."

But the Sample Inventory database by FileMaker has only one table.

Any thoughts on how to apply this script to my own database? Thanks!

Reply With Quote
  #2  
Old   
Robert
 
Posts: n/a

Default Re: FileMaker Go: Detecting whether user is using iPhone - 09-06-2010 , 07:25 AM






On Sep 4, 7:54*pm, "Tim D." <timothyda... (AT) gmail (DOT) com> wrote:
Quote:
Hello all,

So I've recently been working with FileMaker Go. They include a sample
file when you buy the app, called Sample Inventory. This has a great
script built in that detects whether the user is on an iPhone or a
desktop. The script includes this:

If [TestForiPhone]
* *Go to Layout ["Record Detail-iPhone" (Inventory)]
* *Set Variable [$$LayoutSize; Value:"Mobile"]
* *Adjust Window [Resize to Fit]

The part that I'm unable to transplant to my own database is the
"TestForiPhone" calc. Mine automatically changes it to "/
*TestForiPhone*/", and when I remove the */, it says "The specified
table cannot be found."

But the Sample Inventory database by FileMaker has only one table.

Any thoughts on how to apply this script to my own database? Thanks!
Tim - It looks as if "TestForiPhone" is a custom function. If you have
Filemaker advanced you can transfer this function to your new file.

Reply With Quote
  #3  
Old   
Tim D.
 
Posts: n/a

Default Re: FileMaker Go: Detecting whether user is using iPhone - 09-06-2010 , 03:31 PM



Unfortunately, I don't have FM Advanced, just FM Pro version 10. Any
way I can do it?

Reply With Quote
  #4  
Old   
Ursus
 
Posts: n/a

Default Re: FileMaker Go: Detecting whether user is using iPhone - 09-07-2010 , 09:30 AM



Use the sample file and build your solution around it. (you may strip
anything you don't need)

--
Keep well / Hou je goed

Ursus

"Tim D." <timothydavie (AT) gmail (DOT) com> schreef in bericht
news:12e2a21b-68be-4fa8-9ccd-c85d61478aac (AT) v6g2000prd (DOT) googlegroups.com...
Quote:
Unfortunately, I don't have FM Advanced, just FM Pro version 10. Any
way I can do it?

Reply With Quote
  #5  
Old   
MrAbbott
 
Posts: n/a

Default Re: FileMaker Go: Detecting whether user is using iPhone - 09-14-2010 , 10:50 AM



I just read something about Get(SystemPlatform) returning "3" for iPad
or iPhone, and also Get(SystemVersion) (I think) will return the iPad/
iPhone OS version. I'm getting FM Go in a week or two and will check
this out.

Abbott

On Sep 4, 5:54*pm, "Tim D." <timothyda... (AT) gmail (DOT) com> wrote:
Quote:
Hello all,

So I've recently been working with FileMaker Go. They include a sample
file when you buy the app, called Sample Inventory. This has a great
script built in that detects whether the user is on an iPhone or a
desktop. The script includes this:

If [TestForiPhone]
* *Go to Layout ["Record Detail-iPhone" (Inventory)]
* *Set Variable [$$LayoutSize; Value:"Mobile"]
* *Adjust Window [Resize to Fit]

The part that I'm unable to transplant to my own database is the
"TestForiPhone" calc. Mine automatically changes it to "/
*TestForiPhone*/", and when I remove the */, it says "The specified
table cannot be found."

But the Sample Inventory database by FileMaker has only one table.

Any thoughts on how to apply this script to my own database? Thanks!

Reply With Quote
  #6  
Old   
Per Rønne
 
Posts: n/a

Default Re: FileMaker Go: Detecting whether user is using iPhone - 09-23-2010 , 01:09 AM



Tim D. <timothydavie (AT) gmail (DOT) com> wrote:

Quote:
Unfortunately, I don't have FM Advanced, just FM Pro version 10. Any
way I can do it?
Purchase an update to the Pro version.
--
Per Erik Rønne
http://www.RQNNE.dk
Errare humanum est, sed in errore perseverare turpe

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.