mhudd Posted February 19, 2002 Posted February 19, 2002 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.
kenneth2k1 Posted February 19, 2002 Posted February 19, 2002 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
mhudd Posted February 19, 2002 Author Posted February 19, 2002 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?
andygaunt Posted February 19, 2002 Posted February 19, 2002 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?
andygaunt Posted February 19, 2002 Posted February 19, 2002 No worries michael, always happy to help.
danjacoby Posted February 19, 2002 Posted February 19, 2002 One more thing: Make the "lic_agree" field a global field that returns text.
Recommended Posts
This topic is 8312 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