July 20, 200322 yr 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
July 21, 200322 yr Author er - sorry I must have been having a slow day - oops missed that one - thanks Greg
Create an account or sign in to comment