Hi Keith and Joan,
I'll answer to both of you in this post. I have overcome the problem (not
really solved it because it is a workaround) and managed to disable the shift
key during startup but first in answer to your posts.
Keith's quote:"you did remove the startup options in the BE didn't you?"
Yes. As per the following in my previous post:
Firstly in both Front End and Back End I selected Tools->Startup.
I Unchecked Display database window.
I Unchecked Use Access Special keys.
In addition I also set Display Form/Page: In Front End the Switchboard and
Backend to a form that simply has a message in a label telling the user that
they need to open the the application FE etc. (In testing it appears that if
one is successful in disabling the shift bypass then even the db Owner looses
access to it if a form is not displayed when Display Database Window is
unchecked.)
Keith's quote: "copy your FE file, delete everything and the import your
tables into the empty file."
I created an entire new BE and imported the tables, reset the permissions
and ran the shift key disable code and it failed. Have not tried copying the
FE yet but sounds like a good idea as an experiment and I will try it but as
I have it working now, that will be on the back burner for a while.
Joan's quote: "permissions won't travel with the import". In blundering my
way through all this security stuff I had worked that out but thanks for your
input. Somewhere I also saw that one should delete all the links in the FE
and then re-create the links. I did that also.
Joan' quote: "use Debug, Compile to check for errors; perhaps a reference is
missing in the backend. Have done that. In fact that goes back to my original
post that Chris answered and is now fixed. Also I always use Option Explicit
for the purpose of identifying that tyoe of error.
Anyway I have now fixed the problem by using Albert D. Kallal's little
Utility that I downloaded from:
http://www.members.shaw.ca/AlbertKal.../msaccess.html
It worked first time. (I worked out that to use it it is necessary to open
the secured database as the database owner and then close the database
without closing Access. Then open the utility). So my question now is why
does it work and the other code from MS Access Security FAQ does not work? I
am thinking that it might have something to do with the error call.
Anyway thankyou Chris, Keith and Joan for your contributions. Much
appreciated. No real need for any more replies now I have it working. However
if someone actually identifies the problem then I will be interested.
--
Regards,
OssieMac
"Keith Wilby" wrote:
> "Joan Wild" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > "Keith Wilby" <(E-Mail Removed)> wrote in message
> > news:48bd2f6b$(E-Mail Removed)...
> >>
> >> Another approach if all else fails is to copy your FE file, delete
> >> everything and the import your tables into the empty file.
> >
> > Except, the permissions won't travel with the import.
> >
>
> Hmm, perhaps I should stop assuming that everyone uses RWOP queries ;-)
>
>