How can I check if Back End is read-only?

S

stasamation

I have a FE/BE database. The BE resides on the network. Some of the
users have read-write permissions to the BE and some have read-only
permissions. (Permissions are set via standard Windows security).

I am looking for a way to check if the BE is read-only -- what I want
to do is enable or disable certain GUI buttons accordingly. In other
words, for those users who have read-only permissions to the BE, I
want to disable such buttons as "Edit" and "Delete". My plan is to
put this code in the "On Load" event of various FE forms.

How can I check if the linked BE is read-only? Also, should I be
checking if the file permissions are read-only or is it better to
check if the recordset is updatable?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top