| re: Need archtectural advice. DB server or File server.
"swingingming" wrote
[color=blue]
> 1. In a file server, file locations will be
> something like "\\servername\dbname\aa.mdb",
> right? I will do a research on how to do
> that. Now, say 2 people want to access the
> same backend data, will there a conflict if
> they both write to the database at the same time?[/color]
You will link the tables in the shared back-end database, and Jet database
engine's locking mechanisms will handle the locks... generally, the nature
of applications is such that rarely are two users trying to update the same
record at the same time. If you use page-level locking, the chances are
higher, but I've never encountered any serious difficulties using the lowest
level of locking ("No Locks" or "Edited Record").
[color=blue]
> 2. In MSDE, the above problem should
> be handled by the server database
> engine, I assume. And do I link to the
> server tables almost the same way as
> a file server?[/color]
MSDE is a capacity and processing-limited version of Microsoft SQL Server,
it must be separately installed, and does not contain the very easy-to-use
administrative tools that Microsoft SQL Server does. At the very least, for
your development you should license the Developer Edition of SQL Server,
which does include the adminstrative tools.
Yes, once you have somehow set up the tables in MSDE, linking is similar,
but the Connect String will be different, of course, and in earlier versions
of Access, we found it necessary to programmatically re-create the TableDefs
for Linked Tables to change them, rather than use the RefreshLink method.
[color=blue]
> I think I probably will choose option 2.[/color]
Unless there is some good reason you have not explained, I think you would
be letting yourself in for a great deal of extra work and stress, if you do.
You will still have to know Access and how to use it, but you (or some
database administrator) will have to know not only SQL Server, but also the
MSDE limitations to SQL Server.
Larry Linson
Microsoft Access MVP |