Filemaker: get(device) function return ?

HIROYUKI TAMURA
HIROYUKI TAMURA used Ask the Experts™
on
I set a field and set it to a calculation field and return value is"?" when I am using PC.
Server FM9
Client FM18
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
President, Dedication Technologies, Inc.
Commented:
Since this function originated with FileMaker 13 it's unlikely that it will work with a server running Filemaker Server 9. It should work with a standalone file running on FM Pro Advanced 18. Also, you can't connect to FM Server 9 with FM Pro client 18. The file format isn't even the same and I think that FMPA 18 can only connect back to FM Server 16 or 15.

Create a test file with FMPA 18 on the client machine and give it a test. Should work correctly.

Returns:
  • 0 for an unknown device
  • 1 for a Mac
  • 2 for a computer running Windows
  • 3 for iPad
  • 4 for iPhone or iPod touch
  • 5 for Android

As an alternative you can also you Get(SystemPlatform)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial