hartmut Posted April 2, 2006 Share Posted April 2, 2006 Hello I understand we can hide a layout name in the menu but is there a way to delete it or hide it completely after info has been entered. I want the user not to be able to go to that layout again and from then on when they open the file it will go to the new layout. Is this possible? I appreciate your answers. Thank you Link to comment Share on other sites More sharing options...
Jeff Bills Posted April 3, 2006 Share Posted April 3, 2006 Is the layout merely a splash page with information or is the user going to be required to enter data and then never be able to modify that data again? Link to comment Share on other sites More sharing options...
Brian C Posted April 3, 2006 Share Posted April 3, 2006 You will need to have a way to identify the user within your database and have a field that is "flagged" when the user inputs information for the first time. In this way, when the database is accessed again, this "flag"field can be looked at via a script and then determine what layout the user should be taken to. You will need to use the Perform Script under the Document preferences so that the script is run when the file is first opened. Link to comment Share on other sites More sharing options...
hartmut Posted April 4, 2006 Author Share Posted April 4, 2006 that exactly . It would be a splash screen where the user enters data but would never be able to go back there again. Hopefully. That is what I am trying to do. Link to comment Share on other sites More sharing options...
Adam M. Posted May 11, 2006 Share Posted May 11, 2006 Probably the easiest way would be to create a field on your users table (I'm assuming you have one) like what Brian C mentioned. Something like z_newuser or whatever you care to name it. Make it a number field and set it to auto-enter the number 1. I don't know about your specific solution. I don't know if you have a login screen or anything like that, but either in the startup script or a script that runs when you log-in, have the script check that z_newuser field. If it equals 1, go to the splash screen layout. If it doesn't equal 1, send them to whatever your regular layout will be. Have another script that runs when you leave the splash screen that sets the z_newuser field to 0 so they never come back to that layout again. As far as deleting the layout, you don't want to do that. Assuming this solution is for multiple users, you need the splash layout for new users that will be added later. You probably already figured that out, but it never hurts to mention it. Hope this helps. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6698 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