VFXdbGuy Posted May 8, 2006 Posted May 8, 2006 Is there any way to test for the method used by clients to access a database. In particular, I want to know if a server file was opened via http in a web browser or directly using FM Pro.
John Mark Osborne Posted May 8, 2006 Posted May 8, 2006 Get(ApplicationVersion) returns the following possible results depending on how your accessing a FileMaker database: - Pro (version) for FileMaker Pro. - ProAdvanced (version) for FileMaker Pro Advanced. - Runtime (version) for FileMaker Runtime. - Web (version) for FileMaker Web Client. - Server (version) for FileMaker Web Server. For example, my machine returns "ProAdvanced 8.0v3". SO, you will have to parse out some the data to figure out the access point. Use the following formula: LeftWords(Get(ApplicationVersion); 1) This will return just the current application without the version so you can more easily test in a conditional statement.
Recommended Posts
This topic is 6774 days old. Please don't post here. Open a new topic instead.
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