gman Posted October 28, 2003 Posted October 28, 2003 I'm writing a script to export a found set from DB1 to DB2. Found set in DB1 will be deleted after the export. The delete is the problem. Many people use the database so a default password is used. Access privileges for the default password allow Browse, Print, Export, Create, and Edit. Only the administrator can delete records. DB1 and DB2 have the same access privileges. I need the capability to have the user click on a button to export/delete the records. I have scripted a buttom to generate the found set, export the records, and delete the records in DB1. The script will not delete the records because the default password doesn't allow deletion of records. How can this be done?
-Queue- Posted October 28, 2003 Posted October 28, 2003 Give all passwords access to all necessary commands and limit only the menu items displayed (set Available menu commands to 'Editing Only' or 'None'). Then you can script any commands needed and test group access using PatternCount( Status(CurrentGroups), "admin" ), etc.
gman Posted November 7, 2003 Author Posted November 7, 2003 Thanks for your help. Limiting the menu commands did the trick.
Recommended Posts
This topic is 7688 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