August 8, 200718 yr Hello I have a Filemaker question concerning executing scripts when closing a file under File Options -> 'When closing this file': if I have a script configured to run when a file closes and the user does not expressly logout under normal circumstances (i.e. the user's session is closed due to Filemaker timeout or the user's PC shuts down, etc.), will the logout script still execute in these circumstances?
August 8, 200718 yr Interesting Question.... so I have a local database that is not shared and did a test. I made a test script that will set a test field to my name..... put that test script in the file option>When closing this file... It worked. It worked when I quit the filemaker application (using a mac) I change the set field part of the script to Get(CurrentDate) and kept filemaker up and did a reboot. It worked again. So I would say do a test for your scenario on a pc. You can also do the test if you are using a server on a test database. If I have a chance to do some testing, I will let you know what my results are. But for the most part, I would say yes, the logout script executes.....
August 8, 200718 yr Author Agtjazz I tried quitting the Filemaker appl myself and it worked for me as well on Windows. I did not try the re-boot, but will. I believe our server has a time out function and I'm concerned about it dropping users from the server side.
Create an account or sign in to comment