multiple users

T

tracktraining

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
 
G

Graham Mandeno

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!
 
T

tracktraining

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 said:
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 said:
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
 
J

John W. Vinson

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).
 
T

tracktraining

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
 
J

John W. Vinson

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.
 
T

tracktraining

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?
 
G

Graham Mandeno

Hiding a window does not cause design changes to a form, or any other
objects. What exactly does mcrHide do? All the steps!
 
J

John W. Vinson

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.
 
T

tracktraining

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.
 
G

Graham Mandeno

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 said:
the mcrHide:


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

--
Learning


Graham Mandeno said:
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

message
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


:

On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining

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.
 
T

tracktraining

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 said:
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 said:
the mcrHide:


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

--
Learning


Graham Mandeno said:
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

message
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


:

On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining

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.
 
G

Graham Mandeno

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 said:
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 said:
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

message
the mcrHide:


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

--
Learning


:

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

message
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


:

On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining

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.
 
T

tracktraining

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 said:
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 said:
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 said:
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

message
the mcrHide:


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

--
Learning


:

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

message
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


:

On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining

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.
 
G

Graham Mandeno

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 said:
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 said:
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

message
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


:

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

message
the mcrHide:


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

--
Learning


:

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

message
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


:

On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining

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.
 
T

tracktraining

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 said:
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 said:
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 said:
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

message
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


:

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

message
the mcrHide:


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

--
Learning


:

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

message
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


:

On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining

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.
 
G

Graham Mandeno

Did you try my other suggestions? (Detect & repair and creating a shortcut)
--
Good Luck :)

Graham Mandeno [Access MVP]
Auckland, New Zealand

tracktraining said:
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 said:
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

message
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


:

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

message
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


:

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

message
the mcrHide:


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

--
Learning


:

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

in
message
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


:

On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining

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.
 
T

tracktraining

yes, i got the same problem. =(

--
Learning


Graham Mandeno said:
Did you try my other suggestions? (Detect & repair and creating a shortcut)
--
Good Luck :)

Graham Mandeno [Access MVP]
Auckland, New Zealand

tracktraining said:
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 said:
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

message
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


:

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

message
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


:

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

message
the mcrHide:


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

--
Learning


:

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

in
message
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


:

On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining

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.
 
G

Graham Mandeno

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 said:
yes, i got the same problem. =(

--
Learning


Graham Mandeno said:
Did you try my other suggestions? (Detect & repair and creating a
shortcut)
--
Good Luck :)

Graham Mandeno [Access MVP]
Auckland, New Zealand

message
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


:

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

message
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


:

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

message
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


:

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

in
message
the mcrHide:


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

--
Learning


:

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" <[email protected]>
wrote
in
message
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


:

On Thu, 13 Nov 2008 08:47:03 -0800, tracktraining

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top