Hi Rody
My comments in-line.
Thanks a lot for your advice and your time responding to my query.
No probs, glad to help if I can.
I did not set a workgroup file as my application
is not intended for a multi-user use.
Access /always/ requires a workgroup file - in every case, without
exception. When you install it, it creates a default workgroup file,
system.mdw. That is probably what you are using. If you have not taken
any steps to impose "user level security" on your database, then, your
database will probably work with the default system.mdw of any other
Access installation.
I am going to distribute my "Split Database" Front-end to the user who is
going to use the application report. My concern here is to secure my
"Back-End Database" so if anyone steal the database, they can't modify
anything from it.
Ok. You want to stop people going directly into the back-end database,
using Access, and viewing or changing the tables directly, bypassing
the front-end forms and reports completely. Correct? If so, there is
really no way to do it. If you /don't/ have "user level security",
someone can just copy the back-end database, & open it with their copy
of Access. If you add user-level security, they just have to copy the
workgroup file as well, and log-on with their known username/password.
Of course, a small effort will keep 99% of users out. So maybe, adding
user-level security would be enough. 99% of users probably would not
know to copy the workgroup file. So they'd just copy the database, and
then be unable to open it on their PC.
Unfortunately, user-level security is difficult to learn (initially),
and you must follow a documented sequence of steps, in exact detail, or
it just won't work. Get the "Access security FAQ", often referenced on
this newsgroup, if you need more information about it.
I know setting the workgroup file is the least solution but
I dont want user annoyed by the log-on everytime they use the application,
since I created the log-on form specific for the users using the application
report and the one who is using actually the application.
But why would /your/ logon form bother them less that the /standard/
one? And, your logon form will not prevent them going directly into the
back-end file.
I remember one time, I used the code and it works but unfortunately, the
source code was lost. If I set off manually all the options, the next time I
run the application, without this VB code(to reset back to ON all the
options) then, I don't have a way to access back all the toolbars and the
database as a whole.
Someone (I foget who) has a convenice tool to help you turn the options
off & on. Some googling in this group may find it for you.
Cheers,
TC
(off for the day)