Group:  Microsoft Access ยป microsoft.public.access.formscoding
Thread: multiple users

Geek News

multiple users
tracktraining 11/12/2008 9:13:02 PM
Hi All,

I tried logging into the db with 2 users. The first user logged in and
everything was fine. While the first user is still using the db (.MDE), the
second user tried to log in. The second user keeps getting an error message:
"You do not have exclusive access to the database at this time. If you
proceed to make changes, you may not be able to save them later". That
message appears when the second user clicked on the .MDE file. The user must
hit OK about 20 times before the user can proceed to the login in screen of
the db.

Can anyone telll me what is wrong? Why do i keep getting that error message?

Thanks,
Tracktraining
--
Learning
Re: multiple users
"Graham Mandeno" <Graham.Mandeno[ at ]nomail.please> 11/12/2008 9:21:24 PM
This message only appears when a user has made design changes, not data
changes.

You should never have two or more users trying to make design changes to the
database at the same time!
--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
news:BBC94124-B77D-41EE-9E43-6C29D09ED034[ at ]microsoft.com...
[Quoted Text]
> Hi All,
>
> I tried logging into the db with 2 users. The first user logged in and
> everything was fine. While the first user is still using the db (.MDE),
> the
> second user tried to log in. The second user keeps getting an error
> message:
> "You do not have exclusive access to the database at this time. If you
> proceed to make changes, you may not be able to save them later". That
> message appears when the second user clicked on the .MDE file. The user
> must
> hit OK about 20 times before the user can proceed to the login in screen
> of
> the db.
>
> Can anyone telll me what is wrong? Why do i keep getting that error
> message?
>
> Thanks,
> Tracktraining
> --
> Learning


Re: multiple users
tracktraining 11/12/2008 10:01:01 PM
My problem is that all the second user did was click on the .MDE file of the
db and that message appears. The second user didn't try to make any design
change at all.

Any help on what is wrong?
Thanks!
--
Learning


"Graham Mandeno" wrote:

[Quoted Text]
> This message only appears when a user has made design changes, not data
> changes.
>
> You should never have two or more users trying to make design changes to the
> database at the same time!
> --
> Good Luck :-)
>
> Graham Mandeno [Access MVP]
> Auckland, New Zealand
>
> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
> news:BBC94124-B77D-41EE-9E43-6C29D09ED034[ at ]microsoft.com...
> > Hi All,
> >
> > I tried logging into the db with 2 users. The first user logged in and
> > everything was fine. While the first user is still using the db (.MDE),
> > the
> > second user tried to log in. The second user keeps getting an error
> > message:
> > "You do not have exclusive access to the database at this time. If you
> > proceed to make changes, you may not be able to save them later". That
> > message appears when the second user clicked on the .MDE file. The user
> > must
> > hit OK about 20 times before the user can proceed to the login in screen
> > of
> > the db.
> >
> > Can anyone telll me what is wrong? Why do i keep getting that error
> > message?
> >
> > Thanks,
> > Tracktraining
> > --
> > Learning
>
>
Re: multiple users
John W. Vinson <jvinson[ at ]STOP_SPAM.WysardOfInfo.com> 11/13/2008 1:03:20 AM
On Wed, 12 Nov 2008 14:01:01 -0800, tracktraining
<tracktraining[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>My problem is that all the second user did was click on the .MDE file of the
>db and that message appears. The second user didn't try to make any design
>change at all.
>
>Any help on what is wrong?

Do you have anything in a macro named Autoexec, or any macros or code in the
default Form which opens when the user opens the database? SOMETHING is trying
to make design changes (inadvertantly) - perhaps code that is using the Save
method, which saves design changes to a Form (rather than saving a record to a
table, an easily made mistake).
--

John W. Vinson [MVP]
Re: multiple users
tracktraining 11/13/2008 4:47:03 PM
yes, I do have a macros called mcrHide -- to hide the ms access window in the
log in form which is the first form to load (start-up) when the user click on
the db icon. How can I fix this problem? should I take out the mcrHide macro?

Thanks,
Tracktraining
--
Learning


"John W. Vinson" wrote:

[Quoted Text]
> On Wed, 12 Nov 2008 14:01:01 -0800, tracktraining
> <tracktraining[ at ]discussions.microsoft.com> wrote:
>
> >My problem is that all the second user did was click on the .MDE file of the
> >db and that message appears. The second user didn't try to make any design
> >change at all.
> >
> >Any help on what is wrong?
>
> Do you have anything in a macro named Autoexec, or any macros or code in the
> default Form which opens when the user opens the database? SOMETHING is trying
> to make design changes (inadvertantly) - perhaps code that is using the Save
> method, which saves design changes to a Form (rather than saving a record to a
> table, an easily made mistake).
> --
>
> John W. Vinson [MVP]
>
Re: multiple users
John W. Vinson <jvinson[ at ]STOP_SPAM.WysardOfInfo.com> 11/13/2008 6:01:47 PM
On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
<tracktraining[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>yes, I do have a macros called mcrHide -- to hide the ms access window in the
>log in form which is the first form to load (start-up) when the user click on
>the db icon. How can I fix this problem? should I take out the mcrHide macro?
>
>Thanks,
>Tracktraining

Yes. It's changing the properties of a form, it seems.

You can use Tools... Startup to hide the database window; it's not necessary
to use a macro to do so. Just uncheck the "show database window" checkbox. You
can make it visible again with F11 if you want to work on database design but
not make it (easily) available to your users.
--

John W. Vinson [MVP]
Re: multiple users
tracktraining 11/13/2008 6:30:05 PM
well... the macro is to minimized (hide) the ms access application window. I
have only seen it done using a macro. Can that be done without a macro?
--
Learning


"John W. Vinson" wrote:

[Quoted Text]
> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
> <tracktraining[ at ]discussions.microsoft.com> wrote:
>
> >yes, I do have a macros called mcrHide -- to hide the ms access window in the
> >log in form which is the first form to load (start-up) when the user click on
> >the db icon. How can I fix this problem? should I take out the mcrHide macro?
> >
> >Thanks,
> >Tracktraining
>
> Yes. It's changing the properties of a form, it seems.
>
> You can use Tools... Startup to hide the database window; it's not necessary
> to use a macro to do so. Just uncheck the "show database window" checkbox. You
> can make it visible again with F11 if you want to work on database design but
> not make it (easily) available to your users.
> --
>
> John W. Vinson [MVP]
>
Re: multiple users
"Graham Mandeno" <Graham.Mandeno[ at ]nomail.please> 11/13/2008 7:04:43 PM
Hiding a window does not cause design changes to a form, or any other
objects. What exactly does mcrHide do? All the steps!
--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
[Quoted Text]
> well... the macro is to minimized (hide) the ms access application window.
> I
> have only seen it done using a macro. Can that be done without a macro?
> --
> Learning
>
>
> "John W. Vinson" wrote:
>
>> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
>> <tracktraining[ at ]discussions.microsoft.com> wrote:
>>
>> >yes, I do have a macros called mcrHide -- to hide the ms access window
>> >in the
>> >log in form which is the first form to load (start-up) when the user
>> >click on
>> >the db icon. How can I fix this problem? should I take out the mcrHide
>> >macro?
>> >
>> >Thanks,
>> >Tracktraining
>>
>> Yes. It's changing the properties of a form, it seems.
>>
>> You can use Tools... Startup to hide the database window; it's not
>> necessary
>> to use a macro to do so. Just uncheck the "show database window"
>> checkbox. You
>> can make it visible again with F11 if you want to work on database design
>> but
>> not make it (easily) available to your users.
>> --
>>
>> John W. Vinson [MVP]
>>


Re: multiple users
John W. Vinson <jvinson[ at ]STOP_SPAM.WysardOfInfo.com> 11/13/2008 8:54:46 PM
On Thu, 13 Nov 2008 10:30:05 -0800, tracktraining
<tracktraining[ at ]discussions.microsoft.com> wrote:

[Quoted Text]
>well... the macro is to minimized (hide) the ms access application window. I
>have only seen it done using a macro. Can that be done without a macro?

Did you read my message?

Yes. It can. Use the Startup menu option and uncheck the "Show Database
Window" checkbox.
--

John W. Vinson [MVP]
Re: multiple users
tracktraining 11/14/2008 12:25:12 AM
the mcrHide:


i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562

--
Learning


"Graham Mandeno" wrote:

[Quoted Text]
> Hiding a window does not cause design changes to a form, or any other
> objects. What exactly does mcrHide do? All the steps!
> --
> Good Luck :-)
>
> Graham Mandeno [Access MVP]
> Auckland, New Zealand
>
> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
> > well... the macro is to minimized (hide) the ms access application window.
> > I
> > have only seen it done using a macro. Can that be done without a macro?
> > --
> > Learning
> >
> >
> > "John W. Vinson" wrote:
> >
> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
> >>
> >> >yes, I do have a macros called mcrHide -- to hide the ms access window
> >> >in the
> >> >log in form which is the first form to load (start-up) when the user
> >> >click on
> >> >the db icon. How can I fix this problem? should I take out the mcrHide
> >> >macro?
> >> >
> >> >Thanks,
> >> >Tracktraining
> >>
> >> Yes. It's changing the properties of a form, it seems.
> >>
> >> You can use Tools... Startup to hide the database window; it's not
> >> necessary
> >> to use a macro to do so. Just uncheck the "show database window"
> >> checkbox. You
> >> can make it visible again with F11 if you want to work on database design
> >> but
> >> not make it (easily) available to your users.
> >> --
> >>
> >> John W. Vinson [MVP]
> >>
>
>
Re: multiple users
tracktraining 11/14/2008 12:25:17 AM
I tried unchecking the "show database window" and yes that only hide the
database window but it doesn't hide/minimized the actual MS application
window.
--
Learning


"John W. Vinson" wrote:

[Quoted Text]
> On Thu, 13 Nov 2008 10:30:05 -0800, tracktraining
> <tracktraining[ at ]discussions.microsoft.com> wrote:
>
> >well... the macro is to minimized (hide) the ms access application window. I
> >have only seen it done using a macro. Can that be done without a macro?
>
> Did you read my message?
>
> Yes. It can. Use the Startup menu option and uncheck the "Show Database
> Window" checkbox.
> --
>
> John W. Vinson [MVP]
>
Re: multiple users
"Graham Mandeno" <Graham.Mandeno[ at ]nomail.please> 11/14/2008 1:24:52 AM
Well, I'm fairly certain there is nothing in that code that is causing the
"exclusive access" message you describe.

Are you sure you do not have a DoCmd.Save anywhere in your code?

Also, in a multi-user environment you really should split your database into
a shared backend (tables only) and a frontend (everything else). You link
the backend tables to the frontend and give the users individual copies of
the frontend on their local hard drives.

This has many advantages, including:
- ease of maintenance
- better performance
- less susceptibility to corruption

For more information, check here:
http://www.granite.ab.ca/access/splitapp/index.htm
--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
[Quoted Text]
> the mcrHide:
>
>
> i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
>
> --
> Learning
>
>
> "Graham Mandeno" wrote:
>
>> Hiding a window does not cause design changes to a form, or any other
>> objects. What exactly does mcrHide do? All the steps!
>> --
>> Good Luck :-)
>>
>> Graham Mandeno [Access MVP]
>> Auckland, New Zealand
>>
>> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> message
>> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
>> > well... the macro is to minimized (hide) the ms access application
>> > window.
>> > I
>> > have only seen it done using a macro. Can that be done without a
>> > macro?
>> > --
>> > Learning
>> >
>> >
>> > "John W. Vinson" wrote:
>> >
>> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
>> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
>> >>
>> >> >yes, I do have a macros called mcrHide -- to hide the ms access
>> >> >window
>> >> >in the
>> >> >log in form which is the first form to load (start-up) when the user
>> >> >click on
>> >> >the db icon. How can I fix this problem? should I take out the
>> >> >mcrHide
>> >> >macro?
>> >> >
>> >> >Thanks,
>> >> >Tracktraining
>> >>
>> >> Yes. It's changing the properties of a form, it seems.
>> >>
>> >> You can use Tools... Startup to hide the database window; it's not
>> >> necessary
>> >> to use a macro to do so. Just uncheck the "show database window"
>> >> checkbox. You
>> >> can make it visible again with F11 if you want to work on database
>> >> design
>> >> but
>> >> not make it (easily) available to your users.
>> >> --
>> >>
>> >> John W. Vinson [MVP]
>> >>
>>
>>


Re: multiple users
tracktraining 11/14/2008 5:56:01 PM
Hi Graham,

I am sure that I don't have any DoCmd.Save anywhere. In addition, I will be
splitting the db. I don't understand why I am getting this error mesage. And
I only get it when I click on the db icon. If both users open the db via ms
access then it works (without error)......... but error happens when one
clicks on the icon, then the second person clicks on the icon later (which
the first one is still log into the db).

Thanks for all your help so far!

-Tracktraining
--
Learning


"Graham Mandeno" wrote:

[Quoted Text]
> Well, I'm fairly certain there is nothing in that code that is causing the
> "exclusive access" message you describe.
>
> Are you sure you do not have a DoCmd.Save anywhere in your code?
>
> Also, in a multi-user environment you really should split your database into
> a shared backend (tables only) and a frontend (everything else). You link
> the backend tables to the frontend and give the users individual copies of
> the frontend on their local hard drives.
>
> This has many advantages, including:
> - ease of maintenance
> - better performance
> - less susceptibility to corruption
>
> For more information, check here:
> http://www.granite.ab.ca/access/splitapp/index.htm
> --
> Good Luck :-)
>
> Graham Mandeno [Access MVP]
> Auckland, New Zealand
>
> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
> news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
> > the mcrHide:
> >
> >
> > i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
> >
> > --
> > Learning
> >
> >
> > "Graham Mandeno" wrote:
> >
> >> Hiding a window does not cause design changes to a form, or any other
> >> objects. What exactly does mcrHide do? All the steps!
> >> --
> >> Good Luck :-)
> >>
> >> Graham Mandeno [Access MVP]
> >> Auckland, New Zealand
> >>
> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> message
> >> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
> >> > well... the macro is to minimized (hide) the ms access application
> >> > window.
> >> > I
> >> > have only seen it done using a macro. Can that be done without a
> >> > macro?
> >> > --
> >> > Learning
> >> >
> >> >
> >> > "John W. Vinson" wrote:
> >> >
> >> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
> >> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
> >> >>
> >> >> >yes, I do have a macros called mcrHide -- to hide the ms access
> >> >> >window
> >> >> >in the
> >> >> >log in form which is the first form to load (start-up) when the user
> >> >> >click on
> >> >> >the db icon. How can I fix this problem? should I take out the
> >> >> >mcrHide
> >> >> >macro?
> >> >> >
> >> >> >Thanks,
> >> >> >Tracktraining
> >> >>
> >> >> Yes. It's changing the properties of a form, it seems.
> >> >>
> >> >> You can use Tools... Startup to hide the database window; it's not
> >> >> necessary
> >> >> to use a macro to do so. Just uncheck the "show database window"
> >> >> checkbox. You
> >> >> can make it visible again with F11 if you want to work on database
> >> >> design
> >> >> but
> >> >> not make it (easily) available to your users.
> >> >> --
> >> >>
> >> >> John W. Vinson [MVP]
> >> >>
> >>
> >>
>
>
>
Re: multiple users
"Graham Mandeno" <Graham.Mandeno[ at ]nomail.please> 11/15/2008 2:48:05 AM
Are you saying that if you double-click on the MDB file in Windows Explorer
you do get the message, but if you start Access and say File>Open then you
don't get it?

That is REALLY weird!

Can you go to Tools > Options >Advanced and see what the Default open mode
is set to (Shared or Exclusive).
--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
news:1AFB639A-DC55-40DE-98F1-34752F085471[ at ]microsoft.com...
[Quoted Text]
> Hi Graham,
>
> I am sure that I don't have any DoCmd.Save anywhere. In addition, I will
> be
> splitting the db. I don't understand why I am getting this error mesage.
> And
> I only get it when I click on the db icon. If both users open the db via
> ms
> access then it works (without error)......... but error happens when one
> clicks on the icon, then the second person clicks on the icon later (which
> the first one is still log into the db).
>
> Thanks for all your help so far!
>
> -Tracktraining
> --
> Learning
>
>
> "Graham Mandeno" wrote:
>
>> Well, I'm fairly certain there is nothing in that code that is causing
>> the
>> "exclusive access" message you describe.
>>
>> Are you sure you do not have a DoCmd.Save anywhere in your code?
>>
>> Also, in a multi-user environment you really should split your database
>> into
>> a shared backend (tables only) and a frontend (everything else). You
>> link
>> the backend tables to the frontend and give the users individual copies
>> of
>> the frontend on their local hard drives.
>>
>> This has many advantages, including:
>> - ease of maintenance
>> - better performance
>> - less susceptibility to corruption
>>
>> For more information, check here:
>> http://www.granite.ab.ca/access/splitapp/index.htm
>> --
>> Good Luck :-)
>>
>> Graham Mandeno [Access MVP]
>> Auckland, New Zealand
>>
>> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> message
>> news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
>> > the mcrHide:
>> >
>> >
>> > i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
>> >
>> > --
>> > Learning
>> >
>> >
>> > "Graham Mandeno" wrote:
>> >
>> >> Hiding a window does not cause design changes to a form, or any other
>> >> objects. What exactly does mcrHide do? All the steps!
>> >> --
>> >> Good Luck :-)
>> >>
>> >> Graham Mandeno [Access MVP]
>> >> Auckland, New Zealand
>> >>
>> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> >> message
>> >> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
>> >> > well... the macro is to minimized (hide) the ms access application
>> >> > window.
>> >> > I
>> >> > have only seen it done using a macro. Can that be done without a
>> >> > macro?
>> >> > --
>> >> > Learning
>> >> >
>> >> >
>> >> > "John W. Vinson" wrote:
>> >> >
>> >> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
>> >> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
>> >> >>
>> >> >> >yes, I do have a macros called mcrHide -- to hide the ms access
>> >> >> >window
>> >> >> >in the
>> >> >> >log in form which is the first form to load (start-up) when the
>> >> >> >user
>> >> >> >click on
>> >> >> >the db icon. How can I fix this problem? should I take out the
>> >> >> >mcrHide
>> >> >> >macro?
>> >> >> >
>> >> >> >Thanks,
>> >> >> >Tracktraining
>> >> >>
>> >> >> Yes. It's changing the properties of a form, it seems.
>> >> >>
>> >> >> You can use Tools... Startup to hide the database window; it's not
>> >> >> necessary
>> >> >> to use a macro to do so. Just uncheck the "show database window"
>> >> >> checkbox. You
>> >> >> can make it visible again with F11 if you want to work on database
>> >> >> design
>> >> >> but
>> >> >> not make it (easily) available to your users.
>> >> >> --
>> >> >>
>> >> >> John W. Vinson [MVP]
>> >> >>
>> >>
>> >>
>>
>>
>>


Re: multiple users
tracktraining 11/17/2008 5:06:03 PM
So you find it weird as well...... do you know if anyone else has encountered
this same problem?

the Default open mode is set to shared.


--
Learning


"Graham Mandeno" wrote:

[Quoted Text]
> Are you saying that if you double-click on the MDB file in Windows Explorer
> you do get the message, but if you start Access and say File>Open then you
> don't get it?
>
> That is REALLY weird!
>
> Can you go to Tools > Options >Advanced and see what the Default open mode
> is set to (Shared or Exclusive).
> --
> Good Luck :-)
>
> Graham Mandeno [Access MVP]
> Auckland, New Zealand
>
> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
> news:1AFB639A-DC55-40DE-98F1-34752F085471[ at ]microsoft.com...
> > Hi Graham,
> >
> > I am sure that I don't have any DoCmd.Save anywhere. In addition, I will
> > be
> > splitting the db. I don't understand why I am getting this error mesage.
> > And
> > I only get it when I click on the db icon. If both users open the db via
> > ms
> > access then it works (without error)......... but error happens when one
> > clicks on the icon, then the second person clicks on the icon later (which
> > the first one is still log into the db).
> >
> > Thanks for all your help so far!
> >
> > -Tracktraining
> > --
> > Learning
> >
> >
> > "Graham Mandeno" wrote:
> >
> >> Well, I'm fairly certain there is nothing in that code that is causing
> >> the
> >> "exclusive access" message you describe.
> >>
> >> Are you sure you do not have a DoCmd.Save anywhere in your code?
> >>
> >> Also, in a multi-user environment you really should split your database
> >> into
> >> a shared backend (tables only) and a frontend (everything else). You
> >> link
> >> the backend tables to the frontend and give the users individual copies
> >> of
> >> the frontend on their local hard drives.
> >>
> >> This has many advantages, including:
> >> - ease of maintenance
> >> - better performance
> >> - less susceptibility to corruption
> >>
> >> For more information, check here:
> >> http://www.granite.ab.ca/access/splitapp/index.htm
> >> --
> >> Good Luck :-)
> >>
> >> Graham Mandeno [Access MVP]
> >> Auckland, New Zealand
> >>
> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> message
> >> news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
> >> > the mcrHide:
> >> >
> >> >
> >> > i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
> >> >
> >> > --
> >> > Learning
> >> >
> >> >
> >> > "Graham Mandeno" wrote:
> >> >
> >> >> Hiding a window does not cause design changes to a form, or any other
> >> >> objects. What exactly does mcrHide do? All the steps!
> >> >> --
> >> >> Good Luck :-)
> >> >>
> >> >> Graham Mandeno [Access MVP]
> >> >> Auckland, New Zealand
> >> >>
> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> >> message
> >> >> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
> >> >> > well... the macro is to minimized (hide) the ms access application
> >> >> > window.
> >> >> > I
> >> >> > have only seen it done using a macro. Can that be done without a
> >> >> > macro?
> >> >> > --
> >> >> > Learning
> >> >> >
> >> >> >
> >> >> > "John W. Vinson" wrote:
> >> >> >
> >> >> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
> >> >> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
> >> >> >>
> >> >> >> >yes, I do have a macros called mcrHide -- to hide the ms access
> >> >> >> >window
> >> >> >> >in the
> >> >> >> >log in form which is the first form to load (start-up) when the
> >> >> >> >user
> >> >> >> >click on
> >> >> >> >the db icon. How can I fix this problem? should I take out the
> >> >> >> >mcrHide
> >> >> >> >macro?
> >> >> >> >
> >> >> >> >Thanks,
> >> >> >> >Tracktraining
> >> >> >>
> >> >> >> Yes. It's changing the properties of a form, it seems.
> >> >> >>
> >> >> >> You can use Tools... Startup to hide the database window; it's not
> >> >> >> necessary
> >> >> >> to use a macro to do so. Just uncheck the "show database window"
> >> >> >> checkbox. You
> >> >> >> can make it visible again with F11 if you want to work on database
> >> >> >> design
> >> >> >> but
> >> >> >> not make it (easily) available to your users.
> >> >> >> --
> >> >> >>
> >> >> >> John W. Vinson [MVP]
> >> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>
Re: multiple users
"Graham Mandeno" <Graham.Mandeno[ at ]nomail.please> 11/17/2008 9:21:26 PM
Sorry - I've never seen it nor heard of it before.

What version of Access are you using?

Does the problem occur with other databases, or just this one?

It sounds like there is a problem with the installation of Access. I
suggest you try doing a "Detect and Repair" (from the Help menu) and also
try compacting and repairing your database.

Also, try creating a shortcut with the following target line:
<path to MSACCESS.EXE> <path to your database>

For example:
"C:\Program Files\Microsoft Office\Office11\msaccess.exe"
"C:\MyFolder\MyDB.mdb"

--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
news:42796848-9383-4DD8-AF65-48D10364DA70[ at ]microsoft.com...
[Quoted Text]
> So you find it weird as well...... do you know if anyone else has
> encountered
> this same problem?
>
> the Default open mode is set to shared.
>
>
> --
> Learning
>
>
> "Graham Mandeno" wrote:
>
>> Are you saying that if you double-click on the MDB file in Windows
>> Explorer
>> you do get the message, but if you start Access and say File>Open then
>> you
>> don't get it?
>>
>> That is REALLY weird!
>>
>> Can you go to Tools > Options >Advanced and see what the Default open
>> mode
>> is set to (Shared or Exclusive).
>> --
>> Good Luck :-)
>>
>> Graham Mandeno [Access MVP]
>> Auckland, New Zealand
>>
>> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> message
>> news:1AFB639A-DC55-40DE-98F1-34752F085471[ at ]microsoft.com...
>> > Hi Graham,
>> >
>> > I am sure that I don't have any DoCmd.Save anywhere. In addition, I
>> > will
>> > be
>> > splitting the db. I don't understand why I am getting this error
>> > mesage.
>> > And
>> > I only get it when I click on the db icon. If both users open the db
>> > via
>> > ms
>> > access then it works (without error)......... but error happens when
>> > one
>> > clicks on the icon, then the second person clicks on the icon later
>> > (which
>> > the first one is still log into the db).
>> >
>> > Thanks for all your help so far!
>> >
>> > -Tracktraining
>> > --
>> > Learning
>> >
>> >
>> > "Graham Mandeno" wrote:
>> >
>> >> Well, I'm fairly certain there is nothing in that code that is causing
>> >> the
>> >> "exclusive access" message you describe.
>> >>
>> >> Are you sure you do not have a DoCmd.Save anywhere in your code?
>> >>
>> >> Also, in a multi-user environment you really should split your
>> >> database
>> >> into
>> >> a shared backend (tables only) and a frontend (everything else). You
>> >> link
>> >> the backend tables to the frontend and give the users individual
>> >> copies
>> >> of
>> >> the frontend on their local hard drives.
>> >>
>> >> This has many advantages, including:
>> >> - ease of maintenance
>> >> - better performance
>> >> - less susceptibility to corruption
>> >>
>> >> For more information, check here:
>> >> http://www.granite.ab.ca/access/splitapp/index.htm
>> >> --
>> >> Good Luck :-)
>> >>
>> >> Graham Mandeno [Access MVP]
>> >> Auckland, New Zealand
>> >>
>> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> >> message
>> >> news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
>> >> > the mcrHide:
>> >> >
>> >> >
>> >> > i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
>> >> >
>> >> > --
>> >> > Learning
>> >> >
>> >> >
>> >> > "Graham Mandeno" wrote:
>> >> >
>> >> >> Hiding a window does not cause design changes to a form, or any
>> >> >> other
>> >> >> objects. What exactly does mcrHide do? All the steps!
>> >> >> --
>> >> >> Good Luck :-)
>> >> >>
>> >> >> Graham Mandeno [Access MVP]
>> >> >> Auckland, New Zealand
>> >> >>
>> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> >> >> message
>> >> >> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
>> >> >> > well... the macro is to minimized (hide) the ms access
>> >> >> > application
>> >> >> > window.
>> >> >> > I
>> >> >> > have only seen it done using a macro. Can that be done without a
>> >> >> > macro?
>> >> >> > --
>> >> >> > Learning
>> >> >> >
>> >> >> >
>> >> >> > "John W. Vinson" wrote:
>> >> >> >
>> >> >> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
>> >> >> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
>> >> >> >>
>> >> >> >> >yes, I do have a macros called mcrHide -- to hide the ms access
>> >> >> >> >window
>> >> >> >> >in the
>> >> >> >> >log in form which is the first form to load (start-up) when the
>> >> >> >> >user
>> >> >> >> >click on
>> >> >> >> >the db icon. How can I fix this problem? should I take out the
>> >> >> >> >mcrHide
>> >> >> >> >macro?
>> >> >> >> >
>> >> >> >> >Thanks,
>> >> >> >> >Tracktraining
>> >> >> >>
>> >> >> >> Yes. It's changing the properties of a form, it seems.
>> >> >> >>
>> >> >> >> You can use Tools... Startup to hide the database window; it's
>> >> >> >> not
>> >> >> >> necessary
>> >> >> >> to use a macro to do so. Just uncheck the "show database window"
>> >> >> >> checkbox. You
>> >> >> >> can make it visible again with F11 if you want to work on
>> >> >> >> database
>> >> >> >> design
>> >> >> >> but
>> >> >> >> not make it (easily) available to your users.
>> >> >> >> --
>> >> >> >>
>> >> >> >> John W. Vinson [MVP]
>> >> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>


Re: multiple users
tracktraining 11/17/2008 11:44:00 PM
i am using access 2003. Not sure if it happens with other db cuz this is the
first db that i have worked on.

--
Learning


"Graham Mandeno" wrote:

[Quoted Text]
> Sorry - I've never seen it nor heard of it before.
>
> What version of Access are you using?
>
> Does the problem occur with other databases, or just this one?
>
> It sounds like there is a problem with the installation of Access. I
> suggest you try doing a "Detect and Repair" (from the Help menu) and also
> try compacting and repairing your database.
>
> Also, try creating a shortcut with the following target line:
> <path to MSACCESS.EXE> <path to your database>
>
> For example:
> "C:\Program Files\Microsoft Office\Office11\msaccess.exe"
> "C:\MyFolder\MyDB.mdb"
>
> --
> Good Luck :-)
>
> Graham Mandeno [Access MVP]
> Auckland, New Zealand
>
> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
> news:42796848-9383-4DD8-AF65-48D10364DA70[ at ]microsoft.com...
> > So you find it weird as well...... do you know if anyone else has
> > encountered
> > this same problem?
> >
> > the Default open mode is set to shared.
> >
> >
> > --
> > Learning
> >
> >
> > "Graham Mandeno" wrote:
> >
> >> Are you saying that if you double-click on the MDB file in Windows
> >> Explorer
> >> you do get the message, but if you start Access and say File>Open then
> >> you
> >> don't get it?
> >>
> >> That is REALLY weird!
> >>
> >> Can you go to Tools > Options >Advanced and see what the Default open
> >> mode
> >> is set to (Shared or Exclusive).
> >> --
> >> Good Luck :-)
> >>
> >> Graham Mandeno [Access MVP]
> >> Auckland, New Zealand
> >>
> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> message
> >> news:1AFB639A-DC55-40DE-98F1-34752F085471[ at ]microsoft.com...
> >> > Hi Graham,
> >> >
> >> > I am sure that I don't have any DoCmd.Save anywhere. In addition, I
> >> > will
> >> > be
> >> > splitting the db. I don't understand why I am getting this error
> >> > mesage.
> >> > And
> >> > I only get it when I click on the db icon. If both users open the db
> >> > via
> >> > ms
> >> > access then it works (without error)......... but error happens when
> >> > one
> >> > clicks on the icon, then the second person clicks on the icon later
> >> > (which
> >> > the first one is still log into the db).
> >> >
> >> > Thanks for all your help so far!
> >> >
> >> > -Tracktraining
> >> > --
> >> > Learning
> >> >
> >> >
> >> > "Graham Mandeno" wrote:
> >> >
> >> >> Well, I'm fairly certain there is nothing in that code that is causing
> >> >> the
> >> >> "exclusive access" message you describe.
> >> >>
> >> >> Are you sure you do not have a DoCmd.Save anywhere in your code?
> >> >>
> >> >> Also, in a multi-user environment you really should split your
> >> >> database
> >> >> into
> >> >> a shared backend (tables only) and a frontend (everything else). You
> >> >> link
> >> >> the backend tables to the frontend and give the users individual
> >> >> copies
> >> >> of
> >> >> the frontend on their local hard drives.
> >> >>
> >> >> This has many advantages, including:
> >> >> - ease of maintenance
> >> >> - better performance
> >> >> - less susceptibility to corruption
> >> >>
> >> >> For more information, check here:
> >> >> http://www.granite.ab.ca/access/splitapp/index.htm
> >> >> --
> >> >> Good Luck :-)
> >> >>
> >> >> Graham Mandeno [Access MVP]
> >> >> Auckland, New Zealand
> >> >>
> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> >> message
> >> >> news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
> >> >> > the mcrHide:
> >> >> >
> >> >> >
> >> >> > i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
> >> >> >
> >> >> > --
> >> >> > Learning
> >> >> >
> >> >> >
> >> >> > "Graham Mandeno" wrote:
> >> >> >
> >> >> >> Hiding a window does not cause design changes to a form, or any
> >> >> >> other
> >> >> >> objects. What exactly does mcrHide do? All the steps!
> >> >> >> --
> >> >> >> Good Luck :-)
> >> >> >>
> >> >> >> Graham Mandeno [Access MVP]
> >> >> >> Auckland, New Zealand
> >> >> >>
> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> >> >> message
> >> >> >> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
> >> >> >> > well... the macro is to minimized (hide) the ms access
> >> >> >> > application
> >> >> >> > window.
> >> >> >> > I
> >> >> >> > have only seen it done using a macro. Can that be done without a
> >> >> >> > macro?
> >> >> >> > --
> >> >> >> > Learning
> >> >> >> >
> >> >> >> >
> >> >> >> > "John W. Vinson" wrote:
> >> >> >> >
> >> >> >> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
> >> >> >> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
> >> >> >> >>
> >> >> >> >> >yes, I do have a macros called mcrHide -- to hide the ms access
> >> >> >> >> >window
> >> >> >> >> >in the
> >> >> >> >> >log in form which is the first form to load (start-up) when the
> >> >> >> >> >user
> >> >> >> >> >click on
> >> >> >> >> >the db icon. How can I fix this problem? should I take out the
> >> >> >> >> >mcrHide
> >> >> >> >> >macro?
> >> >> >> >> >
> >> >> >> >> >Thanks,
> >> >> >> >> >Tracktraining
> >> >> >> >>
> >> >> >> >> Yes. It's changing the properties of a form, it seems.
> >> >> >> >>
> >> >> >> >> You can use Tools... Startup to hide the database window; it's
> >> >> >> >> not
> >> >> >> >> necessary
> >> >> >> >> to use a macro to do so. Just uncheck the "show database window"
> >> >> >> >> checkbox. You
> >> >> >> >> can make it visible again with F11 if you want to work on
> >> >> >> >> database
> >> >> >> >> design
> >> >> >> >> but
> >> >> >> >> not make it (easily) available to your users.
> >> >> >> >> --
> >> >> >> >>
> >> >> >> >> John W. Vinson [MVP]
> >> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>
> >>
>
>
Re: multiple users
"Graham Mandeno" <Graham.Mandeno[ at ]nomail.please> 11/18/2008 9:04:43 AM
Did you try my other suggestions? (Detect & repair and creating a shortcut)
--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
news:B745229F-E412-41B4-864A-7CE1AA7953D8[ at ]microsoft.com...
[Quoted Text]
>i am using access 2003. Not sure if it happens with other db cuz this is
>the
> first db that i have worked on.
>
> --
> Learning
>
>
> "Graham Mandeno" wrote:
>
>> Sorry - I've never seen it nor heard of it before.
>>
>> What version of Access are you using?
>>
>> Does the problem occur with other databases, or just this one?
>>
>> It sounds like there is a problem with the installation of Access. I
>> suggest you try doing a "Detect and Repair" (from the Help menu) and also
>> try compacting and repairing your database.
>>
>> Also, try creating a shortcut with the following target line:
>> <path to MSACCESS.EXE> <path to your database>
>>
>> For example:
>> "C:\Program Files\Microsoft Office\Office11\msaccess.exe"
>> "C:\MyFolder\MyDB.mdb"
>>
>> --
>> Good Luck :-)
>>
>> Graham Mandeno [Access MVP]
>> Auckland, New Zealand
>>
>> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> message
>> news:42796848-9383-4DD8-AF65-48D10364DA70[ at ]microsoft.com...
>> > So you find it weird as well...... do you know if anyone else has
>> > encountered
>> > this same problem?
>> >
>> > the Default open mode is set to shared.
>> >
>> >
>> > --
>> > Learning
>> >
>> >
>> > "Graham Mandeno" wrote:
>> >
>> >> Are you saying that if you double-click on the MDB file in Windows
>> >> Explorer
>> >> you do get the message, but if you start Access and say File>Open then
>> >> you
>> >> don't get it?
>> >>
>> >> That is REALLY weird!
>> >>
>> >> Can you go to Tools > Options >Advanced and see what the Default open
>> >> mode
>> >> is set to (Shared or Exclusive).
>> >> --
>> >> Good Luck :-)
>> >>
>> >> Graham Mandeno [Access MVP]
>> >> Auckland, New Zealand
>> >>
>> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> >> message
>> >> news:1AFB639A-DC55-40DE-98F1-34752F085471[ at ]microsoft.com...
>> >> > Hi Graham,
>> >> >
>> >> > I am sure that I don't have any DoCmd.Save anywhere. In addition, I
>> >> > will
>> >> > be
>> >> > splitting the db. I don't understand why I am getting this error
>> >> > mesage.
>> >> > And
>> >> > I only get it when I click on the db icon. If both users open the db
>> >> > via
>> >> > ms
>> >> > access then it works (without error)......... but error happens when
>> >> > one
>> >> > clicks on the icon, then the second person clicks on the icon later
>> >> > (which
>> >> > the first one is still log into the db).
>> >> >
>> >> > Thanks for all your help so far!
>> >> >
>> >> > -Tracktraining
>> >> > --
>> >> > Learning
>> >> >
>> >> >
>> >> > "Graham Mandeno" wrote:
>> >> >
>> >> >> Well, I'm fairly certain there is nothing in that code that is
>> >> >> causing
>> >> >> the
>> >> >> "exclusive access" message you describe.
>> >> >>
>> >> >> Are you sure you do not have a DoCmd.Save anywhere in your code?
>> >> >>
>> >> >> Also, in a multi-user environment you really should split your
>> >> >> database
>> >> >> into
>> >> >> a shared backend (tables only) and a frontend (everything else).
>> >> >> You
>> >> >> link
>> >> >> the backend tables to the frontend and give the users individual
>> >> >> copies
>> >> >> of
>> >> >> the frontend on their local hard drives.
>> >> >>
>> >> >> This has many advantages, including:
>> >> >> - ease of maintenance
>> >> >> - better performance
>> >> >> - less susceptibility to corruption
>> >> >>
>> >> >> For more information, check here:
>> >> >> http://www.granite.ab.ca/access/splitapp/index.htm
>> >> >> --
>> >> >> Good Luck :-)
>> >> >>
>> >> >> Graham Mandeno [Access MVP]
>> >> >> Auckland, New Zealand
>> >> >>
>> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> >> >> message
>> >> >> news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
>> >> >> > the mcrHide:
>> >> >> >
>> >> >> >
>> >> >> > i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
>> >> >> >
>> >> >> > --
>> >> >> > Learning
>> >> >> >
>> >> >> >
>> >> >> > "Graham Mandeno" wrote:
>> >> >> >
>> >> >> >> Hiding a window does not cause design changes to a form, or any
>> >> >> >> other
>> >> >> >> objects. What exactly does mcrHide do? All the steps!
>> >> >> >> --
>> >> >> >> Good Luck :-)
>> >> >> >>
>> >> >> >> Graham Mandeno [Access MVP]
>> >> >> >> Auckland, New Zealand
>> >> >> >>
>> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote
>> >> >> >> in
>> >> >> >> message
>> >> >> >> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
>> >> >> >> > well... the macro is to minimized (hide) the ms access
>> >> >> >> > application
>> >> >> >> > window.
>> >> >> >> > I
>> >> >> >> > have only seen it done using a macro. Can that be done
>> >> >> >> > without a
>> >> >> >> > macro?
>> >> >> >> > --
>> >> >> >> > Learning
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > "John W. Vinson" wrote:
>> >> >> >> >
>> >> >> >> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
>> >> >> >> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
>> >> >> >> >>
>> >> >> >> >> >yes, I do have a macros called mcrHide -- to hide the ms
>> >> >> >> >> >access
>> >> >> >> >> >window
>> >> >> >> >> >in the
>> >> >> >> >> >log in form which is the first form to load (start-up) when
>> >> >> >> >> >the
>> >> >> >> >> >user
>> >> >> >> >> >click on
>> >> >> >> >> >the db icon. How can I fix this problem? should I take out
>> >> >> >> >> >the
>> >> >> >> >> >mcrHide
>> >> >> >> >> >macro?
>> >> >> >> >> >
>> >> >> >> >> >Thanks,
>> >> >> >> >> >Tracktraining
>> >> >> >> >>
>> >> >> >> >> Yes. It's changing the properties of a form, it seems.
>> >> >> >> >>
>> >> >> >> >> You can use Tools... Startup to hide the database window;
>> >> >> >> >> it's
>> >> >> >> >> not
>> >> >> >> >> necessary
>> >> >> >> >> to use a macro to do so. Just uncheck the "show database
>> >> >> >> >> window"
>> >> >> >> >> checkbox. You
>> >> >> >> >> can make it visible again with F11 if you want to work on
>> >> >> >> >> database
>> >> >> >> >> design
>> >> >> >> >> but
>> >> >> >> >> not make it (easily) available to your users.
>> >> >> >> >> --
>> >> >> >> >>
>> >> >> >> >> John W. Vinson [MVP]
>> >> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>>
>>


Re: multiple users
tracktraining 11/18/2008 4:56:01 PM
yes, i got the same problem. =(

--
Learning


"Graham Mandeno" wrote:

[Quoted Text]
> Did you try my other suggestions? (Detect & repair and creating a shortcut)
> --
> Good Luck :-)
>
> Graham Mandeno [Access MVP]
> Auckland, New Zealand
>
> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
> news:B745229F-E412-41B4-864A-7CE1AA7953D8[ at ]microsoft.com...
> >i am using access 2003. Not sure if it happens with other db cuz this is
> >the
> > first db that i have worked on.
> >
> > --
> > Learning
> >
> >
> > "Graham Mandeno" wrote:
> >
> >> Sorry - I've never seen it nor heard of it before.
> >>
> >> What version of Access are you using?
> >>
> >> Does the problem occur with other databases, or just this one?
> >>
> >> It sounds like there is a problem with the installation of Access. I
> >> suggest you try doing a "Detect and Repair" (from the Help menu) and also
> >> try compacting and repairing your database.
> >>
> >> Also, try creating a shortcut with the following target line:
> >> <path to MSACCESS.EXE> <path to your database>
> >>
> >> For example:
> >> "C:\Program Files\Microsoft Office\Office11\msaccess.exe"
> >> "C:\MyFolder\MyDB.mdb"
> >>
> >> --
> >> Good Luck :-)
> >>
> >> Graham Mandeno [Access MVP]
> >> Auckland, New Zealand
> >>
> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> message
> >> news:42796848-9383-4DD8-AF65-48D10364DA70[ at ]microsoft.com...
> >> > So you find it weird as well...... do you know if anyone else has
> >> > encountered
> >> > this same problem?
> >> >
> >> > the Default open mode is set to shared.
> >> >
> >> >
> >> > --
> >> > Learning
> >> >
> >> >
> >> > "Graham Mandeno" wrote:
> >> >
> >> >> Are you saying that if you double-click on the MDB file in Windows
> >> >> Explorer
> >> >> you do get the message, but if you start Access and say File>Open then
> >> >> you
> >> >> don't get it?
> >> >>
> >> >> That is REALLY weird!
> >> >>
> >> >> Can you go to Tools > Options >Advanced and see what the Default open
> >> >> mode
> >> >> is set to (Shared or Exclusive).
> >> >> --
> >> >> Good Luck :-)
> >> >>
> >> >> Graham Mandeno [Access MVP]
> >> >> Auckland, New Zealand
> >> >>
> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> >> message
> >> >> news:1AFB639A-DC55-40DE-98F1-34752F085471[ at ]microsoft.com...
> >> >> > Hi Graham,
> >> >> >
> >> >> > I am sure that I don't have any DoCmd.Save anywhere. In addition, I
> >> >> > will
> >> >> > be
> >> >> > splitting the db. I don't understand why I am getting this error
> >> >> > mesage.
> >> >> > And
> >> >> > I only get it when I click on the db icon. If both users open the db
> >> >> > via
> >> >> > ms
> >> >> > access then it works (without error)......... but error happens when
> >> >> > one
> >> >> > clicks on the icon, then the second person clicks on the icon later
> >> >> > (which
> >> >> > the first one is still log into the db).
> >> >> >
> >> >> > Thanks for all your help so far!
> >> >> >
> >> >> > -Tracktraining
> >> >> > --
> >> >> > Learning
> >> >> >
> >> >> >
> >> >> > "Graham Mandeno" wrote:
> >> >> >
> >> >> >> Well, I'm fairly certain there is nothing in that code that is
> >> >> >> causing
> >> >> >> the
> >> >> >> "exclusive access" message you describe.
> >> >> >>
> >> >> >> Are you sure you do not have a DoCmd.Save anywhere in your code?
> >> >> >>
> >> >> >> Also, in a multi-user environment you really should split your
> >> >> >> database
> >> >> >> into
> >> >> >> a shared backend (tables only) and a frontend (everything else).
> >> >> >> You
> >> >> >> link
> >> >> >> the backend tables to the frontend and give the users individual
> >> >> >> copies
> >> >> >> of
> >> >> >> the frontend on their local hard drives.
> >> >> >>
> >> >> >> This has many advantages, including:
> >> >> >> - ease of maintenance
> >> >> >> - better performance
> >> >> >> - less susceptibility to corruption
> >> >> >>
> >> >> >> For more information, check here:
> >> >> >> http://www.granite.ab.ca/access/splitapp/index.htm
> >> >> >> --
> >> >> >> Good Luck :-)
> >> >> >>
> >> >> >> Graham Mandeno [Access MVP]
> >> >> >> Auckland, New Zealand
> >> >> >>
> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> >> >> message
> >> >> >> news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
> >> >> >> > the mcrHide:
> >> >> >> >
> >> >> >> >
> >> >> >> > i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
> >> >> >> >
> >> >> >> > --
> >> >> >> > Learning
> >> >> >> >
> >> >> >> >
> >> >> >> > "Graham Mandeno" wrote:
> >> >> >> >
> >> >> >> >> Hiding a window does not cause design changes to a form, or any
> >> >> >> >> other
> >> >> >> >> objects. What exactly does mcrHide do? All the steps!
> >> >> >> >> --
> >> >> >> >> Good Luck :-)
> >> >> >> >>
> >> >> >> >> Graham Mandeno [Access MVP]
> >> >> >> >> Auckland, New Zealand
> >> >> >> >>
> >> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote
> >> >> >> >> in
> >> >> >> >> message
> >> >> >> >> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
> >> >> >> >> > well... the macro is to minimized (hide) the ms access
> >> >> >> >> > application
> >> >> >> >> > window.
> >> >> >> >> > I
> >> >> >> >> > have only seen it done using a macro. Can that be done
> >> >> >> >> > without a
> >> >> >> >> > macro?
> >> >> >> >> > --
> >> >> >> >> > Learning
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > "John W. Vinson" wrote:
> >> >> >> >> >
> >> >> >> >> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
> >> >> >> >> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
> >> >> >> >> >>
> >> >> >> >> >> >yes, I do have a macros called mcrHide -- to hide the ms
> >> >> >> >> >> >access
> >> >> >> >> >> >window
> >> >> >> >> >> >in the
> >> >> >> >> >> >log in form which is the first form to load (start-up) when
> >> >> >> >> >> >the
> >> >> >> >> >> >user
> >> >> >> >> >> >click on
> >> >> >> >> >> >the db icon. How can I fix this problem? should I take out
> >> >> >> >> >> >the
> >> >> >> >> >> >mcrHide
> >> >> >> >> >> >macro?
> >> >> >> >> >> >
> >> >> >> >> >> >Thanks,
> >> >> >> >> >> >Tracktraining
> >> >> >> >> >>
> >> >> >> >> >> Yes. It's changing the properties of a form, it seems.
> >> >> >> >> >>
> >> >> >> >> >> You can use Tools... Startup to hide the database window;
> >> >> >> >> >> it's
> >> >> >> >> >> not
> >> >> >> >> >> necessary
> >> >> >> >> >> to use a macro to do so. Just uncheck the "show database
> >> >> >> >> >> window"
> >> >> >> >> >> checkbox. You
> >> >> >> >> >> can make it visible again with F11 if you want to work on
> >> >> >> >> >> database
> >> >> >> >> >> design
> >> >> >> >> >> but
> >> >> >> >> >> not make it (easily) available to your users.
> >> >> >> >> >> --
> >> >> >> >> >>
> >> >> >> >> >> John W. Vinson [MVP]
> >> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >>
> >>
>
>
Re: multiple users
"Graham Mandeno" <Graham.Mandeno[ at ]nomail.please> 11/19/2008 7:16:44 PM
Does it behave symmetrically? That is, if you open the MDB first on
computer A then on Computer B, the user on B gets the error, but if you do
it in the other order then A gets the error?

--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
news:7C670555-8AC1-409E-AFC7-3EA277FF6919[ at ]microsoft.com...
[Quoted Text]
> yes, i got the same problem. =(
>
> --
> Learning
>
>
> "Graham Mandeno" wrote:
>
>> Did you try my other suggestions? (Detect & repair and creating a
>> shortcut)
>> --
>> Good Luck :-)
>>
>> Graham Mandeno [Access MVP]
>> Auckland, New Zealand
>>
>> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> message
>> news:B745229F-E412-41B4-864A-7CE1AA7953D8[ at ]microsoft.com...
>> >i am using access 2003. Not sure if it happens with other db cuz this is
>> >the
>> > first db that i have worked on.
>> >
>> > --
>> > Learning
>> >
>> >
>> > "Graham Mandeno" wrote:
>> >
>> >> Sorry - I've never seen it nor heard of it before.
>> >>
>> >> What version of Access are you using?
>> >>
>> >> Does the problem occur with other databases, or just this one?
>> >>
>> >> It sounds like there is a problem with the installation of Access. I
>> >> suggest you try doing a "Detect and Repair" (from the Help menu) and
>> >> also
>> >> try compacting and repairing your database.
>> >>
>> >> Also, try creating a shortcut with the following target line:
>> >> <path to MSACCESS.EXE> <path to your database>
>> >>
>> >> For example:
>> >> "C:\Program Files\Microsoft Office\Office11\msaccess.exe"
>> >> "C:\MyFolder\MyDB.mdb"
>> >>
>> >> --
>> >> Good Luck :-)
>> >>
>> >> Graham Mandeno [Access MVP]
>> >> Auckland, New Zealand
>> >>
>> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> >> message
>> >> news:42796848-9383-4DD8-AF65-48D10364DA70[ at ]microsoft.com...
>> >> > So you find it weird as well...... do you know if anyone else has
>> >> > encountered
>> >> > this same problem?
>> >> >
>> >> > the Default open mode is set to shared.
>> >> >
>> >> >
>> >> > --
>> >> > Learning
>> >> >
>> >> >
>> >> > "Graham Mandeno" wrote:
>> >> >
>> >> >> Are you saying that if you double-click on the MDB file in Windows
>> >> >> Explorer
>> >> >> you do get the message, but if you start Access and say File>Open
>> >> >> then
>> >> >> you
>> >> >> don't get it?
>> >> >>
>> >> >> That is REALLY weird!
>> >> >>
>> >> >> Can you go to Tools > Options >Advanced and see what the Default
>> >> >> open
>> >> >> mode
>> >> >> is set to (Shared or Exclusive).
>> >> >> --
>> >> >> Good Luck :-)
>> >> >>
>> >> >> Graham Mandeno [Access MVP]
>> >> >> Auckland, New Zealand
>> >> >>
>> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
>> >> >> message
>> >> >> news:1AFB639A-DC55-40DE-98F1-34752F085471[ at ]microsoft.com...
>> >> >> > Hi Graham,
>> >> >> >
>> >> >> > I am sure that I don't have any DoCmd.Save anywhere. In addition,
>> >> >> > I
>> >> >> > will
>> >> >> > be
>> >> >> > splitting the db. I don't understand why I am getting this error
>> >> >> > mesage.
>> >> >> > And
>> >> >> > I only get it when I click on the db icon. If both users open the
>> >> >> > db
>> >> >> > via
>> >> >> > ms
>> >> >> > access then it works (without error)......... but error happens
>> >> >> > when
>> >> >> > one
>> >> >> > clicks on the icon, then the second person clicks on the icon
>> >> >> > later
>> >> >> > (which
>> >> >> > the first one is still log into the db).
>> >> >> >
>> >> >> > Thanks for all your help so far!
>> >> >> >
>> >> >> > -Tracktraining
>> >> >> > --
>> >> >> > Learning
>> >> >> >
>> >> >> >
>> >> >> > "Graham Mandeno" wrote:
>> >> >> >
>> >> >> >> Well, I'm fairly certain there is nothing in that code that is
>> >> >> >> causing
>> >> >> >> the
>> >> >> >> "exclusive access" message you describe.
>> >> >> >>
>> >> >> >> Are you sure you do not have a DoCmd.Save anywhere in your code?
>> >> >> >>
>> >> >> >> Also, in a multi-user environment you really should split your
>> >> >> >> database
>> >> >> >> into
>> >> >> >> a shared backend (tables only) and a frontend (everything else).
>> >> >> >> You
>> >> >> >> link
>> >> >> >> the backend tables to the frontend and give the users individual
>> >> >> >> copies
>> >> >> >> of
>> >> >> >> the frontend on their local hard drives.
>> >> >> >>
>> >> >> >> This has many advantages, including:
>> >> >> >> - ease of maintenance
>> >> >> >> - better performance
>> >> >> >> - less susceptibility to corruption
>> >> >> >>
>> >> >> >> For more information, check here:
>> >> >> >> http://www.granite.ab.ca/access/splitapp/index.htm
>> >> >> >> --
>> >> >> >> Good Luck :-)
>> >> >> >>
>> >> >> >> Graham Mandeno [Access MVP]
>> >> >> >> Auckland, New Zealand
>> >> >> >>
>> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote
>> >> >> >> in
>> >> >> >> message
>> >> >> >> news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
>> >> >> >> > the mcrHide:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > Learning
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > "Graham Mandeno" wrote:
>> >> >> >> >
>> >> >> >> >> Hiding a window does not cause design changes to a form, or
>> >> >> >> >> any
>> >> >> >> >> other
>> >> >> >> >> objects. What exactly does mcrHide do? All the steps!
>> >> >> >> >> --
>> >> >> >> >> Good Luck :-)
>> >> >> >> >>
>> >> >> >> >> Graham Mandeno [Access MVP]
>> >> >> >> >> Auckland, New Zealand
>> >> >> >> >>
>> >> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com>
>> >> >> >> >> wrote
>> >> >> >> >> in
>> >> >> >> >> message
>> >> >> >> >> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
>> >> >> >> >> > well... the macro is to minimized (hide) the ms access
>> >> >> >> >> > application
>> >> >> >> >> > window.
>> >> >> >> >> > I
>> >> >> >> >> > have only seen it done using a macro. Can that be done
>> >> >> >> >> > without a
>> >> >> >> >> > macro?
>> >> >> >> >> > --
>> >> >> >> >> > Learning
>> >> >> >> >> >
>> >> >> >> >> >
>> >> >> >> >> > "John W. Vinson" wrote:
>> >> >> >> >> >
>> >> >> >> >> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
>> >> >> >> >> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
>> >> >> >> >> >>
>> >> >> >> >> >> >yes, I do have a macros called mcrHide -- to hide the ms
>> >> >> >> >> >> >access
>> >> >> >> >> >> >window
>> >> >> >> >> >> >in the
>> >> >> >> >> >> >log in form which is the first form to load (start-up)
>> >> >> >> >> >> >when
>> >> >> >> >> >> >the
>> >> >> >> >> >> >user
>> >> >> >> >> >> >click on
>> >> >> >> >> >> >the db icon. How can I fix this problem? should I take
>> >> >> >> >> >> >out
>> >> >> >> >> >> >the
>> >> >> >> >> >> >mcrHide
>> >> >> >> >> >> >macro?
>> >> >> >> >> >> >
>> >> >> >> >> >> >Thanks,
>> >> >> >> >> >> >Tracktraining
>> >> >> >> >> >>
>> >> >> >> >> >> Yes. It's changing the properties of a form, it seems.
>> >> >> >> >> >>
>> >> >> >> >> >> You can use Tools... Startup to hide the database window;
>> >> >> >> >> >> it's
>> >> >> >> >> >> not
>> >> >> >> >> >> necessary
>> >> >> >> >> >> to use a macro to do so. Just uncheck the "show database
>> >> >> >> >> >> window"
>> >> >> >> >> >> checkbox. You
>> >> >> >> >> >> can make it visible again with F11 if you want to work on
>> >> >> >> >> >> database
>> >> >> >> >> >> design
>> >> >> >> >> >> but
>> >> >> >> >> >> not make it (easily) available to your users.
>> >> >> >> >> >> --
>> >> >> >> >> >>
>> >> >> >> >> >> John W. Vinson [MVP]
>> >> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>>
>>


Re: multiple users
tracktraining 11/19/2008 7:31:18 PM
yes, the second user gets the error.
--
Learning


"Graham Mandeno" wrote:

[Quoted Text]
> Does it behave symmetrically? That is, if you open the MDB first on
> computer A then on Computer B, the user on B gets the error, but if you do
> it in the other order then A gets the error?
>
> --
> Good Luck :-)
>
> Graham Mandeno [Access MVP]
> Auckland, New Zealand
>
> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
> news:7C670555-8AC1-409E-AFC7-3EA277FF6919[ at ]microsoft.com...
> > yes, i got the same problem. =(
> >
> > --
> > Learning
> >
> >
> > "Graham Mandeno" wrote:
> >
> >> Did you try my other suggestions? (Detect & repair and creating a
> >> shortcut)
> >> --
> >> Good Luck :-)
> >>
> >> Graham Mandeno [Access MVP]
> >> Auckland, New Zealand
> >>
> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> message
> >> news:B745229F-E412-41B4-864A-7CE1AA7953D8[ at ]microsoft.com...
> >> >i am using access 2003. Not sure if it happens with other db cuz this is
> >> >the
> >> > first db that i have worked on.
> >> >
> >> > --
> >> > Learning
> >> >
> >> >
> >> > "Graham Mandeno" wrote:
> >> >
> >> >> Sorry - I've never seen it nor heard of it before.
> >> >>
> >> >> What version of Access are you using?
> >> >>
> >> >> Does the problem occur with other databases, or just this one?
> >> >>
> >> >> It sounds like there is a problem with the installation of Access. I
> >> >> suggest you try doing a "Detect and Repair" (from the Help menu) and
> >> >> also
> >> >> try compacting and repairing your database.
> >> >>
> >> >> Also, try creating a shortcut with the following target line:
> >> >> <path to MSACCESS.EXE> <path to your database>
> >> >>
> >> >> For example:
> >> >> "C:\Program Files\Microsoft Office\Office11\msaccess.exe"
> >> >> "C:\MyFolder\MyDB.mdb"
> >> >>
> >> >> --
> >> >> Good Luck :-)
> >> >>
> >> >> Graham Mandeno [Access MVP]
> >> >> Auckland, New Zealand
> >> >>
> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> >> message
> >> >> news:42796848-9383-4DD8-AF65-48D10364DA70[ at ]microsoft.com...
> >> >> > So you find it weird as well...... do you know if anyone else has
> >> >> > encountered
> >> >> > this same problem?
> >> >> >
> >> >> > the Default open mode is set to shared.
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Learning
> >> >> >
> >> >> >
> >> >> > "Graham Mandeno" wrote:
> >> >> >
> >> >> >> Are you saying that if you double-click on the MDB file in Windows
> >> >> >> Explorer
> >> >> >> you do get the message, but if you start Access and say File>Open
> >> >> >> then
> >> >> >> you
> >> >> >> don't get it?
> >> >> >>
> >> >> >> That is REALLY weird!
> >> >> >>
> >> >> >> Can you go to Tools > Options >Advanced and see what the Default
> >> >> >> open
> >> >> >> mode
> >> >> >> is set to (Shared or Exclusive).
> >> >> >> --
> >> >> >> Good Luck :-)
> >> >> >>
> >> >> >> Graham Mandeno [Access MVP]
> >> >> >> Auckland, New Zealand
> >> >> >>
> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> >> >> >> message
> >> >> >> news:1AFB639A-DC55-40DE-98F1-34752F085471[ at ]microsoft.com...
> >> >> >> > Hi Graham,
> >> >> >> >
> >> >> >> > I am sure that I don't have any DoCmd.Save anywhere. In addition,
> >> >> >> > I
> >> >> >> > will
> >> >> >> > be
> >> >> >> > splitting the db. I don't understand why I am getting this error
> >> >> >> > mesage.
> >> >> >> > And
> >> >> >> > I only get it when I click on the db icon. If both users open the
> >> >> >> > db
> >> >> >> > via
> >> >> >> > ms
> >> >> >> > access then it works (without error)......... but error happens
> >> >> >> > when
> >> >> >> > one
> >> >> >> > clicks on the icon, then the second person clicks on the icon
> >> >> >> > later
> >> >> >> > (which
> >> >> >> > the first one is still log into the db).
> >> >> >> >
> >> >> >> > Thanks for all your help so far!
> >> >> >> >
> >> >> >> > -Tracktraining
> >> >> >> > --
> >> >> >> > Learning
> >> >> >> >
> >> >> >> >
> >> >> >> > "Graham Mandeno" wrote:
> >> >> >> >
> >> >> >> >> Well, I'm fairly certain there is nothing in that code that is
> >> >> >> >> causing
> >> >> >> >> the
> >> >> >> >> "exclusive access" message you describe.
> >> >> >> >>
> >> >> >> >> Are you sure you do not have a DoCmd.Save anywhere in your code?
> >> >> >> >>
> >> >> >> >> Also, in a multi-user environment you really should split your
> >> >> >> >> database
> >> >> >> >> into
> >> >> >> >> a shared backend (tables only) and a frontend (everything else).
> >> >> >> >> You
> >> >> >> >> link
> >> >> >> >> the backend tables to the frontend and give the users individual
> >> >> >> >> copies
> >> >> >> >> of
> >> >> >> >> the frontend on their local hard drives.
> >> >> >> >>
> >> >> >> >> This has many advantages, including:
> >> >> >> >> - ease of maintenance
> >> >> >> >> - better performance
> >> >> >> >> - less susceptibility to corruption
> >> >> >> >>
> >> >> >> >> For more information, check here:
> >> >> >> >> http://www.granite.ab.ca/access/splitapp/index.htm
> >> >> >> >> --
> >> >> >> >> Good Luck :-)
> >> >> >> >>
> >> >> >> >> Graham Mandeno [Access MVP]
> >> >> >> >> Auckland, New Zealand
> >> >> >> >>
> >> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote
> >> >> >> >> in
> >> >> >> >> message
> >> >> >> >> news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
> >> >> >> >> > the mcrHide:
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
> >> >> >> >> >
> >> >> >> >> > --
> >> >> >> >> > Learning
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > "Graham Mandeno" wrote:
> >> >> >> >> >
> >> >> >> >> >> Hiding a window does not cause design changes to a form, or
> >> >> >> >> >> any
> >> >> >> >> >> other
> >> >> >> >> >> objects. What exactly does mcrHide do? All the steps!
> >> >> >> >> >> --
> >> >> >> >> >> Good Luck :-)
> >> >> >> >> >>
> >> >> >> >> >> Graham Mandeno [Access MVP]
> >> >> >> >> >> Auckland, New Zealand
> >> >> >> >> >>
> >> >> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com>
> >> >> >> >> >> wrote
> >> >> >> >> >> in
> >> >> >> >> >> message
> >> >> >> >> >> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
> >> >> >> >> >> > well... the macro is to minimized (hide) the ms access
> >> >> >> >> >> > application
> >> >> >> >> >> > window.
> >> >> >> >> >> > I
> >> >> >> >> >> > have only seen it done using a macro. Can that be done
> >> >> >> >> >> > without a
> >> >> >> >> >> > macro?
> >> >> >> >> >> > --
> >> >> >> >> >> > Learning
> >> >> >> >> >> >
> >> >> >> >> >> >
> >> >> >> >> >> > "John W. Vinson" wrote:
> >> >> >> >> >> >
> >> >> >> >> >> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
> >> >> >> >> >> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
> >> >> >> >> >> >>
> >> >> >> >> >> >> >yes, I do have a macros called mcrHide -- to hide the ms
> >> >> >> >> >> >> >access
> >> >> >> >> >> >> >window
> >> >> >> >> >> >> >in the
> >> >> >> >> >> >> >log in form which is the first form to load (start-up)
> >> >> >> >> >> >> >when
> >> >> >> >> >> >> >the
> >> >> >> >> >> >> >user
> >> >> >> >> >> >> >click on
> >> >> >> >> >> >> >the db icon. How can I fix this problem? should I take
> >> >> >> >> >> >> >out
> >> >> >> >> >> >> >the
> >> >> >> >> >> >> >mcrHide
> >> >> >> >> >> >> >macro?
> >> >> >> >> >> >> >
> >> >> >> >> >> >> >Thanks,
> >> >> >> >> >> >> >Tracktraining
> >> >> >> >> >> >>
> >> >> >> >> >> >> Yes. It's changing the properties of a form, it seems.
> >> >> >> >> >> >>
> >> >> >> >> >> >> You can use Tools... Startup to hide the database window;
> >> >> >> >> >> >> it's
> >> >> >> >> >> >> not
> >> >> >> >> >> >> necessary
> >> >> >> >> >> >> to use a macro to do so. Just uncheck the "show database
> >> >> >> >> >> >> window"
> >> >> >> >> >> >> checkbox. You
> >> >> >> >> >> >> can make it visible again with F11 if you want to work on
> >> >> >> >> >> >> database
> >> >> >> >> >> >> design
> >> >> >> >> >> >> but
> >> >> >> >> >> >> not make it (easily) available to your users.
> >> >> >> >> >> >> --
> >> >> >> >> >> >>
> >> >> >> >> >> >> John W. Vinson [MVP]
> >> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >>
> >>
>
>
Re: multiple users
tracktraining 11/21/2008 1:25:00 AM
Thanks for all your help Graham. the problem is no longer there. Using
runtime 2007 works. I can have multiple users on the db now.


--
Learning


"tracktraining" wrote:

[Quoted Text]
> yes, the second user gets the error.
> --
> Learning
>
>
> "Graham Mandeno" wrote:
>
> > Does it behave symmetrically? That is, if you open the MDB first on
> > computer A then on Computer B, the user on B gets the error, but if you do
> > it in the other order then A gets the error?
> >
> > --
> > Good Luck :-)
> >
> > Graham Mandeno [Access MVP]
> > Auckland, New Zealand
> >
> > "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in message
> > news:7C670555-8AC1-409E-AFC7-3EA277FF6919[ at ]microsoft.com...
> > > yes, i got the same problem. =(
> > >
> > > --
> > > Learning
> > >
> > >
> > > "Graham Mandeno" wrote:
> > >
> > >> Did you try my other suggestions? (Detect & repair and creating a
> > >> shortcut)
> > >> --
> > >> Good Luck :-)
> > >>
> > >> Graham Mandeno [Access MVP]
> > >> Auckland, New Zealand
> > >>
> > >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> > >> message
> > >> news:B745229F-E412-41B4-864A-7CE1AA7953D8[ at ]microsoft.com...
> > >> >i am using access 2003. Not sure if it happens with other db cuz this is
> > >> >the
> > >> > first db that i have worked on.
> > >> >
> > >> > --
> > >> > Learning
> > >> >
> > >> >
> > >> > "Graham Mandeno" wrote:
> > >> >
> > >> >> Sorry - I've never seen it nor heard of it before.
> > >> >>
> > >> >> What version of Access are you using?
> > >> >>
> > >> >> Does the problem occur with other databases, or just this one?
> > >> >>
> > >> >> It sounds like there is a problem with the installation of Access. I
> > >> >> suggest you try doing a "Detect and Repair" (from the Help menu) and
> > >> >> also
> > >> >> try compacting and repairing your database.
> > >> >>
> > >> >> Also, try creating a shortcut with the following target line:
> > >> >> <path to MSACCESS.EXE> <path to your database>
> > >> >>
> > >> >> For example:
> > >> >> "C:\Program Files\Microsoft Office\Office11\msaccess.exe"
> > >> >> "C:\MyFolder\MyDB.mdb"
> > >> >>
> > >> >> --
> > >> >> Good Luck :-)
> > >> >>
> > >> >> Graham Mandeno [Access MVP]
> > >> >> Auckland, New Zealand
> > >> >>
> > >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> > >> >> message
> > >> >> news:42796848-9383-4DD8-AF65-48D10364DA70[ at ]microsoft.com...
> > >> >> > So you find it weird as well...... do you know if anyone else has
> > >> >> > encountered
> > >> >> > this same problem?
> > >> >> >
> > >> >> > the Default open mode is set to shared.
> > >> >> >
> > >> >> >
> > >> >> > --
> > >> >> > Learning
> > >> >> >
> > >> >> >
> > >> >> > "Graham Mandeno" wrote:
> > >> >> >
> > >> >> >> Are you saying that if you double-click on the MDB file in Windows
> > >> >> >> Explorer
> > >> >> >> you do get the message, but if you start Access and say File>Open
> > >> >> >> then
> > >> >> >> you
> > >> >> >> don't get it?
> > >> >> >>
> > >> >> >> That is REALLY weird!
> > >> >> >>
> > >> >> >> Can you go to Tools > Options >Advanced and see what the Default
> > >> >> >> open
> > >> >> >> mode
> > >> >> >> is set to (Shared or Exclusive).
> > >> >> >> --
> > >> >> >> Good Luck :-)
> > >> >> >>
> > >> >> >> Graham Mandeno [Access MVP]
> > >> >> >> Auckland, New Zealand
> > >> >> >>
> > >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote in
> > >> >> >> message
> > >> >> >> news:1AFB639A-DC55-40DE-98F1-34752F085471[ at ]microsoft.com...
> > >> >> >> > Hi Graham,
> > >> >> >> >
> > >> >> >> > I am sure that I don't have any DoCmd.Save anywhere. In addition,
> > >> >> >> > I
> > >> >> >> > will
> > >> >> >> > be
> > >> >> >> > splitting the db. I don't understand why I am getting this error
> > >> >> >> > mesage.
> > >> >> >> > And
> > >> >> >> > I only get it when I click on the db icon. If both users open the
> > >> >> >> > db
> > >> >> >> > via
> > >> >> >> > ms
> > >> >> >> > access then it works (without error)......... but error happens
> > >> >> >> > when
> > >> >> >> > one
> > >> >> >> > clicks on the icon, then the second person clicks on the icon
> > >> >> >> > later
> > >> >> >> > (which
> > >> >> >> > the first one is still log into the db).
> > >> >> >> >
> > >> >> >> > Thanks for all your help so far!
> > >> >> >> >
> > >> >> >> > -Tracktraining
> > >> >> >> > --
> > >> >> >> > Learning
> > >> >> >> >
> > >> >> >> >
> > >> >> >> > "Graham Mandeno" wrote:
> > >> >> >> >
> > >> >> >> >> Well, I'm fairly certain there is nothing in that code that is
> > >> >> >> >> causing
> > >> >> >> >> the
> > >> >> >> >> "exclusive access" message you describe.
> > >> >> >> >>
> > >> >> >> >> Are you sure you do not have a DoCmd.Save anywhere in your code?
> > >> >> >> >>
> > >> >> >> >> Also, in a multi-user environment you really should split your
> > >> >> >> >> database
> > >> >> >> >> into
> > >> >> >> >> a shared backend (tables only) and a frontend (everything else).
> > >> >> >> >> You
> > >> >> >> >> link
> > >> >> >> >> the backend tables to the frontend and give the users individual
> > >> >> >> >> copies
> > >> >> >> >> of
> > >> >> >> >> the frontend on their local hard drives.
> > >> >> >> >>
> > >> >> >> >> This has many advantages, including:
> > >> >> >> >> - ease of maintenance
> > >> >> >> >> - better performance
> > >> >> >> >> - less susceptibility to corruption
> > >> >> >> >>
> > >> >> >> >> For more information, check here:
> > >> >> >> >> http://www.granite.ab.ca/access/splitapp/index.htm
> > >> >> >> >> --
> > >> >> >> >> Good Luck :-)
> > >> >> >> >>
> > >> >> >> >> Graham Mandeno [Access MVP]
> > >> >> >> >> Auckland, New Zealand
> > >> >> >> >>
> > >> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com> wrote
> > >> >> >> >> in
> > >> >> >> >> message
> > >> >> >> >> news:0BF58F31-496A-4D5C-9140-CB8199BFFE44[ at ]microsoft.com...
> > >> >> >> >> > the mcrHide:
> > >> >> >> >> >
> > >> >> >> >> >
> > >> >> >> >> > i followed this: http://www.tek-tips.com/faqs.cfm?fid=2562
> > >> >> >> >> >
> > >> >> >> >> > --
> > >> >> >> >> > Learning
> > >> >> >> >> >
> > >> >> >> >> >
> > >> >> >> >> > "Graham Mandeno" wrote:
> > >> >> >> >> >
> > >> >> >> >> >> Hiding a window does not cause design changes to a form, or
> > >> >> >> >> >> any
> > >> >> >> >> >> other
> > >> >> >> >> >> objects. What exactly does mcrHide do? All the steps!
> > >> >> >> >> >> --
> > >> >> >> >> >> Good Luck :-)
> > >> >> >> >> >>
> > >> >> >> >> >> Graham Mandeno [Access MVP]
> > >> >> >> >> >> Auckland, New Zealand
> > >> >> >> >> >>
> > >> >> >> >> >> "tracktraining" <tracktraining[ at ]discussions.microsoft.com>
> > >> >> >> >> >> wrote
> > >> >> >> >> >> in
> > >> >> >> >> >> message
> > >> >> >> >> >> news:695E1036-9AFB-4E43-91D4-2678603963DB[ at ]microsoft.com...
> > >> >> >> >> >> > well... the macro is to minimized (hide) the ms access
> > >> >> >> >> >> > application
> > >> >> >> >> >> > window.
> > >> >> >> >> >> > I
> > >> >> >> >> >> > have only seen it done using a macro. Can that be done
> > >> >> >> >> >> > without a
> > >> >> >> >> >> > macro?
> > >> >> >> >> >> > --
> > >> >> >> >> >> > Learning
> > >> >> >> >> >> >
> > >> >> >> >> >> >
> > >> >> >> >> >> > "John W. Vinson" wrote:
> > >> >> >> >> >> >
> > >> >> >> >> >> >> On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining
> > >> >> >> >> >> >> <tracktraining[ at ]discussions.microsoft.com> wrote:
> > >> >> >> >> >> >>
> > >> >> >> >> >> >> >yes, I do have a macros called mcrHide -- to hide the ms
> > >> >> >> >> >> >> >access
> > >> >> >> >> >> >> >window
> > >> >> >> >> >> >> >in the
> > >> >> >> >> >> >> >log in form which is the first form to load (start-up)
> > >> >> >> >> >> >> >when
> > >> >> >> >> >> >> >the
> > >> >> >> >> >> >> >user
> > >> >> >> >> >> >> >click on
> > >> >> >> >> >> >> >the db icon. How can I fix this problem? should I take
> > >> >> >> >> >> >> >out
> > >> >> >> >> >> >> >the
> > >> >> >> >> >> >> >mcrHide
> > >> >> >> >> >> >> >macro?
> > >> >> >> >> >> >> >
> > >> >> >> >> >> >> >Thanks,
> > >> >> >> >> >> >> >Tracktraining
> > >> >> >> >> >> >>
> > >> >> >> >> >> >> Yes. It's changing the properties of a form, it seems.
> > >> >> >> >> >> >>
> > >> >> >> >> >> >> You can use Tools... Startup to hide the database window;
> > >> >> >> >> >> >> it's
> > >> >> >> >> >> >> not
> > >> >> >> >> >> >> necessary
> > >> >> >> >> >> >> to use a macro to do so. Just uncheck the "show database
> > >> >> >> >> >> >> window"
> > >> >> >> >> >> >> checkbox. You
> > >> >> >> >> >> >> can make it visible again with F11 if you want to work on
> > >> >> >> >> >> >> database
> > >> >> >> >> >> >> design
> > >> >> >> >> >> >> but
> > >> >> >> >> >> >> not make it (easily) available to your users.
> > >> >> >> >> >> >> --
> > >> >> >> >> >> >>
> > >> >> >> >> >> >> John W. Vinson [MVP]
> > >> >> >> >> >> >>
> > >> >> >> >> >>
> > >> >> >> >> >>
> > >> >> >> >>
> > >> >> >> >>
> > >> >> >> >>
> > >> >> >>
> > >> >> >>
> > >> >>
> > >> >>
> > >>
> > >>
> >
> >

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net