February 19, 200223 yr I would like to have my license agreement open the first time someone opens my DB and once they agree to it the DB opens without the license agreement from that point on.
February 19, 200223 yr Try this: Make a layout that will be your license agreement. On it, you should have a button that says "I Agree." Make a field called lic_agree. Make a script that goes like this: Set Field [lic_agree, "Agree"] Go to Layout [main layout] attach this to the "I Agree" button. Do a similar script for the Decline button Then make a script that will run at start up. It goes: If [lic_agree = "Agree"] Go to layout [main layout] Else Go to layout [license agreement layout] Then go to Edit/Preferences/Document, check Perform script and select this script You should be able to figure out the rest. Let me know how it works Ken
February 19, 200223 yr Author Ken, I'm still a little fuzzy about this... Once the user agrees to the license I don't want it opening again in the startup... One time deal... Is it possible?
February 19, 200223 yr Michael, From what ken has written this is a once only deal. The field lic_agree starts empty (or with disagree) With the script set to perform on startup, it checks the lic_agree. If this doesn't contain agree the user is taken to the license where they agree or disagree. If they agree then lic_agree now has agree in it. The next time they open the file, the script runs to check if they did agree. As they did they are taken to a different layout. They will never see the license again. Is this any clearer? quote: Originally posted by Michael Huddleston: Ken, I'm still a little fuzzy about this... Once the user agrees to the license I don't want it opening again in the startup... One time deal... Is it possible?
Create an account or sign in to comment