gwmbox Posted July 20, 2003 Posted July 20, 2003 Hi I have a DB that I have an enquiry layout for general access and an Editors layout to make changes. Now I only want those in group A to be able to access the Editors layour and therefore Group B cannot. I have setup in the passwords, groups and overview where Group B passwords do not have access to the Editors layout - i.e. NO ACCESS not even read access. OK that's fine and works. But what I want to do is have a button that users click on to go to the Editors layout - I have scripted this as Allow User Abort (Off) Set Error Capture (On) If ("Status(CurrentError)=0") Go to Layout ("Editors") Else Show Message ("Sorry you do not have permission to edit this file") Go to Layout ("Enquiry") End If I also tried it the other way around by getting to check for errors 714 and 974 first and then if those errors do not occur then open the layout Editors I am at a loss anyone have any ideas - please Using FM Dev 5.5v1 on Win XP Pro Thanks Greg
Anatoli Posted July 20, 2003 Posted July 20, 2003 How about If Status (CurrentGroups) = "group A" HTH
gwmbox Posted July 21, 2003 Author Posted July 21, 2003 er - sorry I must have been having a slow day - oops missed that one - thanks Greg
Recommended Posts
This topic is 7794 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