MariaAux Posted September 24, 2012 Posted September 24, 2012 Is there a calculation to know if the user is entering via web publishing or by the host computer. I am using Supercontainer and if the user logs in via web publishing then the calculation will include the WAN IP address of my router, but if I am logging in locally, then the IP address must be my local host? Thanks so much
doughemi Posted September 24, 2012 Posted September 24, 2012 The Get(ApplicationVersion) function will return "Pro" or "Pro Advanced" and the version number if the user logs on with FileMaker, and "Web" or"Web Publishing Engine" and version number if logged in from the web. So you can use PatternCount(Get(ApplicationVersion); "Web") in your calc.
MariaAux Posted September 24, 2012 Author Posted September 24, 2012 Great. Exactly what I was looking for. Thanks so much and have a great day
MariaAux Posted September 24, 2012 Author Posted September 24, 2012 I just created my calc, but it hasn't worked. I tested it by creating a test field just with the calc; Get(ApplicationVersion) and it always returned 'ProAdvanced 11.0v2', even when i logged on from an internet browser or a friend logged on from his browser across the world. Mmmm, where am I going wrong? Thanks so much.
doughemi Posted September 25, 2012 Posted September 25, 2012 Did you set the calculation field to unstored?
MariaAux Posted September 25, 2012 Author Posted September 25, 2012 Ohhhhhhhhhh Man, I can't believe I missed somethign so simple. Yes, that was it. Thanks so much.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now