Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Multiuser / Networking / February 2005

Tip: Looking for answers? Try searching our database.

Problem with ACCESS back-end

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
tim - 24 Feb 2005 11:49 GMT
Hi everyone.
I have 2 problems :

Problem1.
I have created a VB6 front-end that will reside in a shared network drive.
It will copy an Access database from another network drive to the application
drive and then retrieve data and paste it into a Word file. The application
is to be used by many people. When I tried to (almost) simultaneously run the
program from 3 workstations I got error messages like 'Permission denied' and
'Path not found' (the database is easily accessible), yet a short time later
the Word files came out correctly! What might the problem be? I then tried
inserting 'On Error Resume Next' and there were no error messages.

Problem 2.
I have also written another VB6 front-end thet will reside on a network
drive and will be accessed on many workstations in order to book particular
rooms. The application connects to an Access database (on the same drive as
the app) so the when a user runs it, it checks to see who is currently
viewing a particular room (this information is recorded by the program). When
I ran the program again (almost) simultaneously from the 3 workstations, each
opened and when I 'reserved'  a room on one machine, I waited a few seconds
and attempted to view the same room on another machine but I did not get any
warning that the room was already 'reserved'. Was Access not updating the
table that records who is reserving a room? I have been advised to consider
SQL 2000 as it it a much better networking back-end and can handle concurrent
record access more effectively.
What do people think?

Thanks in advance
Tim
Alex Dybenko - 24 Feb 2005 16:16 GMT
Hi, difficult to say what is wrong without looking at your code. but
normally access works fine with multiple users in network environment. make
sure that you do open database in shared mode

Signature

Alex Dybenko (MVP)
http://Alex.Dybenko.com
http://www.PointLtd.com

> Hi everyone.
> I have 2 problems :
[quoted text clipped - 39 lines]
> Thanks in advance
> Tim
Larry  Linson - 24 Feb 2005 17:38 GMT
> I then tried inserting 'On Error Resume Next'
> and there were no error messages.

That is to be expected -- "On Error Resume Next" tells Access to ignore any
error that was raised and simply resume executing your code at the next
instruction. Unless the error, later, causes your application, or Access, to
crash, this suppresses error messages.
david epsom dot com dot au - 24 Feb 2005 23:02 GMT
How are you doing the copy?  Most copy methods require
exclusive access to the file, and if you have three people
trying to copy the file at the same time, it will fail.

How do you know that the Word files came out 'correctly'?
If you were testing this, you probably already had a
copy of the database, and when the copy failed, your
subsequent code just used the old database.

(david)

> Hi everyone.
> I have 2 problems :
[quoted text clipped - 39 lines]
> Thanks in advance
> Tim
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.