Access Table Datasheet Name To None

Z

Zev

I am runing in Access 2003 I am seting the table datasheet name to none when
I come back to the table its falls back to Auto Y dose it fall back to Auto
when I just changed it to None?


Thak You
Zev
 
T

Tom Wickerath

Hi Zev,

I see this problem on a frequent basis. The only way I have been able to get
a setting of [None] to stick, is to create a brand new database and then
import all objects into it. Here is my standard blurb on doing this:

Create a brand new database and immediately disable the NameAutocorrupt
feature (see: http://allenbrowne.com/bug-03.html for reasons why you want to
do this). Then import all objects from the suspect database into the new
database, one group at a time. In other words, import all tables (but not
linked tables), then import all queries, then all forms, etc. While Access
will allow you to import all objects in one operation, the experts at FMS,
Inc. (a Microsoft Partner), have stated that it is best to import objects one
group at a time (Reference:
http://www.fmsinc.com/ubb/Forum12/HTML/000285.html).

Recreate any linked tables from scratch. Access can cache a lot of
information about linked tables, which may no longer be valid, so it's always
best to recreate the linked tables from scratch. When importing local tables,
make sure to check the option to import relationships, menus and toolbars,
and import/export specs. If any of the local tables in the source DB are
hidden, you'll need to first unhide them. You will need to set the checked
references to match the source database, along with any startup options set
under Tools > Startup. Going through this process often times solves
corruption problems, because you get a new set of the hidden system tables
(the tables whose names start with "MSYS"). These system tables are updated
appropriately as you import objects.

This may sound like a lot of work, but it really isn't. Creating a new
container DB, disabling NameAutocorrect, importing all objects one group at a
time, re-establishing any linked tables, setting startup options, and setting
references to match the source DB is usually a fairly quick procedure. When
you are in the Visual Basic Editor, in order to check that the references
match the source DB, you should do a Debug > Compile ProjectName as well.



Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________
 
G

Gina Whipp

Tom,

I have been successful with...

1. Enter database and disable the Name AutoCorrect
2. Exit the database
3. Re-enter the database and set all my tables to [None]

Gina Whipp

Tom Wickerath said:
Hi Zev,

I see this problem on a frequent basis. The only way I have been able to
get
a setting of [None] to stick, is to create a brand new database and then
import all objects into it. Here is my standard blurb on doing this:

Create a brand new database and immediately disable the NameAutocorrupt
feature (see: http://allenbrowne.com/bug-03.html for reasons why you want
to
do this). Then import all objects from the suspect database into the new
database, one group at a time. In other words, import all tables (but not
linked tables), then import all queries, then all forms, etc. While Access
will allow you to import all objects in one operation, the experts at FMS,
Inc. (a Microsoft Partner), have stated that it is best to import objects
one
group at a time (Reference:
http://www.fmsinc.com/ubb/Forum12/HTML/000285.html).

Recreate any linked tables from scratch. Access can cache a lot of
information about linked tables, which may no longer be valid, so it's
always
best to recreate the linked tables from scratch. When importing local
tables,
make sure to check the option to import relationships, menus and toolbars,
and import/export specs. If any of the local tables in the source DB are
hidden, you'll need to first unhide them. You will need to set the checked
references to match the source database, along with any startup options
set
under Tools > Startup. Going through this process often times solves
corruption problems, because you get a new set of the hidden system tables
(the tables whose names start with "MSYS"). These system tables are
updated
appropriately as you import objects.

This may sound like a lot of work, but it really isn't. Creating a new
container DB, disabling NameAutocorrect, importing all objects one group
at a
time, re-establishing any linked tables, setting startup options, and
setting
references to match the source DB is usually a fairly quick procedure.
When
you are in the Visual Basic Editor, in order to check that the references
match the source DB, you should do a Debug > Compile ProjectName as well.



Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

Zev said:
I am runing in Access 2003 I am seting the table datasheet name to none
when
I come back to the table its falls back to Auto Y dose it fall back to
Auto
when I just changed it to None?


Thak You
Zev
 
T

Tom Wickerath

Hi Gina,

I'm thinking that the issue of a subdatasheet setting of [None] not
sticking, and reverting back to [Auto], is not necessarily related to the
Name Autocorrect setting. I always disable Name Autocorrect from the git-go,
whereas setting subdatasheets to [None] is something I tend to do later in
the development cycle. The only thing that I can think of is that this
setting not sticking represents some subtle form of corruption. I have
experienced it many many times, and Name Autocorrect is always disabled.


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________
 
P

Peter Yang [MSFT]

Hi Zev,

If I understand correctly, when you tried to set table name or field name
of a table, it is reset to the original one automatically. If it is
off-base, please let me know.

You may want to check if the same issue occurs on Northwind sample
database. If not, it seems to be corruption issue and it might be related
to Autocorrect feature Tom mentioned. Importing into a brand new database
may be able to work around the problem.

If the issue only occurs when you change field name, you may want to create
a new field with the same datatype, poplute the file by an update query
from the original field, and then try to drop the old field.

I have included the following articles for your reference if it is
corruption problem:

306204.KB.EN-US ACC2000: How to Troubleshoot Corruption in a Microsoft
Access Database
http://support.microsoft.com/default.aspx?scid=KB;EN-US;306204

ACC2000: How to Troubleshoot and Repair a Damaged Jet 4.0 Database
http://support.microsoft.com/default.aspx?scid=kb;EN-US;209137

300216 HOW TO: Keep a Jet 4.0 Database in Top Working Condition
http://support.microsoft.com/?id=300216

If you have any update, please feel free to let's know. Thank you.

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications
<http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx>.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
<http://msdn.microsoft.com/subscriptions/support/default.aspx>.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
T

Tom Wickerath

Hi Peter,

I believe the issue is setting the SubDatasheet property to [None], which
can revert back to [Auto]. The problem does not involve the name of a field
or the table, but rather trying to disable subdatasheets, as discussed in
this KB article:

BUG: Slow performance on linked tables in Access 2002 and Office Access
2003
http://support.microsoft.com/?id=275085


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________
 
R

RoyVidar

Zev said:
I am runing in Access 2003 I am seting the table datasheet name to
none when
I come back to the table its falls back to Auto Y dose it fall back
to Auto
when I just changed it to None?


Thak You
Zev

I think that in the 2000 and 2002 version, it's OK to set this
property in the design view, but in 2003, you need to do it through
code to stick. I e

dim db as dao.database
dim td as dao.tabledef

set db = currentdb

db.tabledefs("mytbl").properties("SubDataSheetName").value = "[none]"
 
R

RoyVidar

RoyVidar said:
Zev said:
I am runing in Access 2003 I am seting the table datasheet name to
none when
I come back to the table its falls back to Auto Y dose it fall back
to Auto
when I just changed it to None?


Thak You
Zev

I think that in the 2000 and 2002 version, it's OK to set this
property in the design view, but in 2003, you need to do it through
code to stick. I e

dim db as dao.database
dim td as dao.tabledef

set db = currentdb

db.tabledefs("mytbl").properties("SubDataSheetName").value = "[none]"

Here's a KB with a bit more complete code
http://support.microsoft.com/kb/275085/en-us?spid=2509&sid=49
 
P

Peter Yang [MSFT]

Hello Tom & Zev,

Thanks for Tom's comments and I agree Zev's concern is setting SubDatasheet
property. Based on my research, this behaivor does related to autocorrect
option and this is a product limitation. Zev, you may want to uncheck all
autocorrect option in Tools-Options->General tab, and test the issue again.
If the issue persists, please try Tom's suggestion to work around the
issue.

I have forward your feedback on this issue to the proper channel. Also, I
suggest you can submit this feedback to our product feedback center:
http://www.microsoft.com/office/community/en-us/wizard.mspx?type=suggestion&
lang=en&cr=US&cat=en-us-office&pt=3a4e9862-cdce-4bdc-8664-91038e3eb1e9

If you have further questions or concerns, please let's know. Thank you.

Best Regards,

Peter Yang
MCSE2000/2003, MCSA, MCDBA
Microsoft Online Partner Support


=====================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
======================================================
 
G

Gina Whipp

Tom,

Thanks for the explanation... Glad to say it's never happened to me and I
always forget to disable the Name AutoCorrect options until I'm have way
thru. (The day I do it from the beginning I hope to win the lottery!)

Gina Whipp


Tom Wickerath said:
Hi Gina,

I'm thinking that the issue of a subdatasheet setting of [None] not
sticking, and reverting back to [Auto], is not necessarily related to the
Name Autocorrect setting. I always disable Name Autocorrect from the
git-go,
whereas setting subdatasheets to [None] is something I tend to do later in
the development cycle. The only thing that I can think of is that this
setting not sticking represents some subtle form of corruption. I have
experienced it many many times, and Name Autocorrect is always disabled.


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________

Gina Whipp said:
Tom,

I have been successful with...

1. Enter database and disable the Name AutoCorrect
2. Exit the database
3. Re-enter the database and set all my tables to [None]

Gina Whipp
 
T

Tom Wickerath

Hi Gina,

I experimented some with a "clean" copy of Northwind, and you are correct
about the relationship with Name Autocorrupt. I had not realized that this
"feature" was implicated, since I always disable this buggy feature. However,
as I stated, I've also personally encountered many times when the
subdatasheet setting to [None] would not stick, even though Name Autocorrupt
had been previously disabled. In those cases, the only fix that I've found is
to create a new DB container and import all objects.


Tom Wickerath
Microsoft Access MVP

http://www.access.qbuilt.com/html/expert_contributors.html
http://www.access.qbuilt.com/html/search.html
__________________________________________
 

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

Top