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 / April 2008

Tip: Looking for answers? Try searching our database.

Multi users

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
shannaj - 23 Apr 2008 14:23 GMT
I have spent alot of time developing my database and I have finally brought
it to par to put at my users workstations.  The problem I am now finding is
that only one person can enter data at a time.  When I go to open a form when
someone is already in a different form, it give me a message, "There was an
error executing the command".  I read one of the threads about multiusers
permissions, and I have went back to the front end and back end and made sure
that they had the appropriate permissions.  I also checked the network folder
to make sure that they had permissions.  After that I put the newer copy of
the front end on their desktop and still have the same problem.  Am I doing
something wrong?
Souris - 23 Apr 2008 16:34 GMT
Do you copy the mdb to your client machines or shortcut?
If it is shortcut then try to copy the mdb or mde to your client machine.

> I have spent alot of time developing my database and I have finally brought
> it to par to put at my users workstations.  The problem I am now finding is
[quoted text clipped - 6 lines]
> the front end on their desktop and still have the same problem.  Am I doing
> something wrong?
shannaj - 23 Apr 2008 17:55 GMT
I copy and paste it to each work station, no shortcuts.

>Do you copy the mdb to your client machines or shortcut?
>If it is shortcut then try to copy the mdb or mde to your client machine.
[quoted text clipped - 4 lines]
>> the front end on their desktop and still have the same problem.  Am I doing
>> something wrong?
Albert D. Kallal - 24 Apr 2008 00:03 GMT
Try placing a mde on each users machine...see if that works....

Signature

Albert D. Kallal    (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com

shannaj - 24 Apr 2008 15:08 GMT
I tried converting to a MDE file and Access give me the message that it is
unable to create an MDE file.

>Try placing a mde on each users machine...see if that works....
Souris - 24 Apr 2008 16:51 GMT
You need have same version of Access to create mde.
for excmple, if you use Access 2003, but 2000 format then Access does not
letr you create mde
Did you set debug to see which line of code failed?

> I tried converting to a MDE file and Access give me the message that it is
> unable to create an MDE file.
>
> >Try placing a mde on each users machine...see if that works....
Albert D. Kallal - 24 Apr 2008 16:54 GMT
>I tried converting to a MDE file and Access give me the message that it is
> unable to create an MDE file.
>
>>Try placing a mde on each users machine...see if that works....

Ah ha!!

that means your code has bugs and errors in it, and you should NOT be trying
to distribute it (this is exactly why I asked you to create a mde).

Open up the code editor (hit control-g).....

Now, go debug>compile......

(you should do the debug-compile EVERY time you change your code.....).

Find the errors in your code...and then try to make the mde again. You can
NOT create a MDE if you have compile errors in your code (and, no one would
really want to distribute code with compile errors anyway).

get rid of those errors in your code BEFORE you try and distribute the
application...

Signature

Albert D. Kallal    (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com

shannaj - 28 Apr 2008 18:41 GMT
Thank you very much,  I did the debug and worked through my code error.  I
then created the MDE file and copied and pasted it to my users workstations
but they still can not access the database at the same time.

>>I tried converting to a MDE file and Access give me the message that it is
>> unable to create an MDE file.
[quoted text clipped - 18 lines]
>get rid of those errors in your code BEFORE you try and distribute the
>application...
Albert D. Kallal - 30 Apr 2008 06:30 GMT
> Thank you very much,  I did the debug and worked through my code error.  I
> then created the MDE file and copied and pasted it to my users
> workstations
> but they still can not access the database at the same time.

At least now we fixed errors in your code, so that is a good thing.

What kind of message are you receiving now when the second user tries to
launch their "front end" database copy on their machine?

About the only thing I can think of is that you still don't have proper
permissions in the backend folder. Remember when we say users must have full
permissions to that back end folder where the mdb resides, that includes
file creation rights, and also that of file deletion rights. (if they don't
have file creation rights, then you'll be stuck in single user mode as
stated before).

When users now launch the database, do they get any kind of error message?
Furthermore when you database starts up, do you display some kind of
switchboard or startup form? if the switchboard or startup form does not
attach or have any data from a back end table, then your users should at
least be able to launch the application to the main menu. Can they do that
now?

The other thing you could perhaps check is the locking mechanisms and
settings you have for your forms.  Open up a form in design mode, and check
the "data" sheet of the properties sheet.

Take a look at the setting called : RecordLocks (it should for now be set to
no locks).

Another possible thing you might be overlooking is the default open database
settings you have set. once again in your ND be front and, I would check
your settings for tools->options->advanced tab. The "default open" mode
should be set to shared.

There's is something of a very minor nature that you're missing here, and
it's either folder permissions in the shared folder for the back end mdb, or
one of the options in the front end like the above setting that is opening
the file exclusive.

Signature

Albert D. Kallal    (Access MVP)
Edmonton, Alberta Canada
pleaseNOOSpamKallal@msn.com

shannaj - 30 Apr 2008 14:17 GMT
Thank you, thank you, thank you.  The records were locked like you said.  You
can not believe the relief you have just given me.  Thanks again!

>> Thank you very much,  I did the debug and worked through my code error.  I
>> then created the MDE file and copied and pasted it to my users
[quoted text clipped - 36 lines]
>one of the options in the front end like the above setting that is opening
>the file exclusive.

Rate this thread:






 
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.