J
Jay
Haven't used Access in a while, so I've I need to provide more information to
get a definitive answer, please let me know and I can post whatever is needed.
I did not write the code for this database, but I do have access to it to
make changes. In short, the original developer created a pseudo
Client-Server architecture where the data exists on a network share
(Data.mdb) and the code exists on the end-user's desktop (code.mdb) - tables
linked to data on server. In this scheme, Access security is turned on
requiring the user to join the workgroup (MDW) file which exists on the same
network share as the data.mdb. Although the application uses access security
to secure the file, the developer used the user's Windows login as the
username (stored in Users Table) to grant specific access to objects via
code.
This causes two usability issues:
1) When a new user first launches the client db, they must first manually
local the MDW file on the network share and Join. End users are not always
savvy with this sort of thing.
2) Because the user's access to forms, etc. is controlled via code in the
User's table, each time the user logs into the database, they are prompted to
enter an Admin password to login. (I believe the default Admin account
doesn't have rights, then he assigns\removes specific rights via code). All
users enter the same default admin password combo.
So, my questions are:
A) Is there any way I can have my InstallShield program add an entry to the
user's Registry so that they are automatically joined when they install the
application - eliminating the need to do this manually? I haven't worked
with Access in some years - so I don't know if adding their Windows login to
the MDW file before hand would help either.
B) Is there a way to supply the username\password to Access from the Start
Menu shortcut so that the user isn't prompted for this, sort of like web
based databases from URLs?
More Setup details
==============
Access 2000 database
Using Access 2003
Access Security turned one with MDW file in same directory as network share
Thanks in advance for your assistance.
get a definitive answer, please let me know and I can post whatever is needed.
I did not write the code for this database, but I do have access to it to
make changes. In short, the original developer created a pseudo
Client-Server architecture where the data exists on a network share
(Data.mdb) and the code exists on the end-user's desktop (code.mdb) - tables
linked to data on server. In this scheme, Access security is turned on
requiring the user to join the workgroup (MDW) file which exists on the same
network share as the data.mdb. Although the application uses access security
to secure the file, the developer used the user's Windows login as the
username (stored in Users Table) to grant specific access to objects via
code.
This causes two usability issues:
1) When a new user first launches the client db, they must first manually
local the MDW file on the network share and Join. End users are not always
savvy with this sort of thing.
2) Because the user's access to forms, etc. is controlled via code in the
User's table, each time the user logs into the database, they are prompted to
enter an Admin password to login. (I believe the default Admin account
doesn't have rights, then he assigns\removes specific rights via code). All
users enter the same default admin password combo.
So, my questions are:
A) Is there any way I can have my InstallShield program add an entry to the
user's Registry so that they are automatically joined when they install the
application - eliminating the need to do this manually? I haven't worked
with Access in some years - so I don't know if adding their Windows login to
the MDW file before hand would help either.
B) Is there a way to supply the username\password to Access from the Start
Menu shortcut so that the user isn't prompted for this, sort of like web
based databases from URLs?
More Setup details
==============
Access 2000 database
Using Access 2003
Access Security turned one with MDW file in same directory as network share
Thanks in advance for your assistance.