dbTalk Databases Forums  

Problems with MS Access linked tables

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Problems with MS Access linked tables in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mark A. Sam
 
Posts: n/a

Default Problems with MS Access linked tables - 12-28-2009 , 04:14 PM






Hello,

I don't know if this group can help, becuase I don't know if the problem is
with SQL Server, Windows or Access. I am hoping someone can identify the
problem and lead me to a solution.

This is Access 2000, Windows 2000 Server, and Possible SQL Server 2000 or
close to that year. The Access Database has been having occasional issues
with linked SQL Server tables where the connection seems to be broken and
the Form controls display #Name. Refreshing the links or closing and
opening the Database usually fixes this. Also when adding new fields, I
have had to refresh the links to prevent the #Name problem. Somehow I think
the ODBC connection gets disturbed, but not sure how or why.

Recently I added fields to two tables. Then I refreshed the table links.
This cause another issue with one of the tables. When trying to update a
field, a Write conflict message appears and the update is undone. So the
table cannot be update either directly or through a form. I opened a backup
copy and this problem didn't occur until I refreshed the table.

Even though you may not be familiar with Access, you may have an idea of why
the connection gets disrupted and that may solve it all.

Thank you for any input and God Bless,

Mark A. Sam

Reply With Quote
  #2  
Old   
Mark A. Sam
 
Posts: n/a

Default Re: Problems with MS Access linked tables - 12-28-2009 , 05:21 PM






This is resolved. For anyone interested, this problem occurs with Bit type
fields. Here is an article which describes the problem and a solution:

http://support.microsoft.com/kb/280730

However in my case, in addition to need to set a default value for the bit
type fields, I had to set the [Allow Null Values] property to False.




"Mark A. Sam" <MarkASam (AT) EmEssEn (DOT) Com> wrote

Quote:
Hello,

I don't know if this group can help, becuase I don't know if the problem
is with SQL Server, Windows or Access. I am hoping someone can identify
the problem and lead me to a solution.

This is Access 2000, Windows 2000 Server, and Possible SQL Server 2000 or
close to that year. The Access Database has been having occasional issues
with linked SQL Server tables where the connection seems to be broken and
the Form controls display #Name. Refreshing the links or closing and
opening the Database usually fixes this. Also when adding new fields, I
have had to refresh the links to prevent the #Name problem. Somehow I
think the ODBC connection gets disturbed, but not sure how or why.

Recently I added fields to two tables. Then I refreshed the table links.
This cause another issue with one of the tables. When trying to update a
field, a Write conflict message appears and the update is undone. So the
table cannot be update either directly or through a form. I opened a
backup copy and this problem didn't occur until I refreshed the table.

Even though you may not be familiar with Access, you may have an idea of
why the connection gets disrupted and that may solve it all.

Thank you for any input and God Bless,

Mark A. Sam

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.