G
Guest
I am trying to write some code the will determine whether or not the current
user has Add Rows permission to a table called "Permits", so that I can
enable or disable a button on a form (that adds rows) based on whether or not
they have add row permission. Despite instructions otherwise, many of the
users are trying to click on the Add Permit button to issue a permit instead
of the Issue Permit button which they are supposed to click on. Of course,
since they don't have add rows permission the INSERT query fails, so no harm
is done and they then remember to click on the Issue Permit button instead;
but I would rather just avoid the whole situation by turning off the Add
Permit button if the person isn't allowed to use it
I have not been able to find any way to programmatically determine what a
user's permissions are on a table, how do I accomplish this?
-Harry
user has Add Rows permission to a table called "Permits", so that I can
enable or disable a button on a form (that adds rows) based on whether or not
they have add row permission. Despite instructions otherwise, many of the
users are trying to click on the Add Permit button to issue a permit instead
of the Issue Permit button which they are supposed to click on. Of course,
since they don't have add rows permission the INSERT query fails, so no harm
is done and they then remember to click on the Issue Permit button instead;
but I would rather just avoid the whole situation by turning off the Add
Permit button if the person isn't allowed to use it
I have not been able to find any way to programmatically determine what a
user's permissions are on a table, how do I accomplish this?
-Harry