I have a table with the fields userName and dbPermissions. the username in the database is the same one that is displayed when calling the Environ$("username") function. I want to build a script that will find record where the function matches the userName in the table and then looks up that permission. After that I will write code to open certain forms and disable certain fields in those forms, which I think I can handle. The question I have is are there any good discussions on this or would someone be able to help me with the script for the cycling through and checking the userName against the Environ function and then looking up that users permissions?