dbTalk Databases Forums  

Linking Access 2003 .mdb to SQL backend

comp.databases.ms-access comp.databases.ms-access


Discuss Linking Access 2003 .mdb to SQL backend in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
colin spalding
 
Posts: n/a

Default Linking Access 2003 .mdb to SQL backend - 01-20-2009 , 07:35 AM






I have a Access 2003 front_end and a SQL Server back end. After I
have linked the tables I can read all the tables okay but can't write
to them. Any idea what am I doing wrong?

Also in creating the DNS I am given the choice of 'SQL Native Client'
or 'SQL Server'. What's the difference?

Reply With Quote
  #2  
Old   
Tom van Stiphout
 
Posts: n/a

Default Re: Linking Access 2003 .mdb to SQL backend - 01-20-2009 , 07:59 AM






On Tue, 20 Jan 2009 05:35:41 -0800 (PST), colin spalding
<colin.mardell (AT) btopenworld (DOT) com> wrote:

Tables without a primary key are so dangerous Access treats them as
readonly. Add PKs. Relink.

-Tom.
Microsoft Access MVP


Quote:
I have a Access 2003 front_end and a SQL Server back end. After I
have linked the tables I can read all the tables okay but can't write
to them. Any idea what am I doing wrong?

Also in creating the DNS I am given the choice of 'SQL Native Client'
or 'SQL Server'. What's the difference?

Reply With Quote
  #3  
Old   
Tony Toews [MVP]
 
Posts: n/a

Default Re: Linking Access 2003 .mdb to SQL backend - 01-24-2009 , 03:17 PM



Tom van Stiphout <tom7744.no.spam (AT) cox (DOT) net> wrote:

Quote:
Tables without a primary key are so dangerous Access treats them as
readonly. Add PKs. Relink.
Also add TimeStamp aka RowVersion fields to all tables which Access will be
accessing. This will improve form update performance.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/


Reply With Quote
  #4  
Old   
Tom van Stiphout
 
Posts: n/a

Default Re: Linking Access 2003 .mdb to SQL backend - 01-24-2009 , 07:45 PM



On Sat, 24 Jan 2009 21:17:50 GMT, "Tony Toews [MVP]"
<ttoews (AT) telusplanet (DOT) net> wrote:

A timestamp column IN ADDITION TO a Primary Key?
Certainly Access would not need two unique values to determine which
row's which?

-Tom.


Quote:
Tom van Stiphout <tom7744.no.spam (AT) cox (DOT) net> wrote:

Tables without a primary key are so dangerous Access treats them as
readonly. Add PKs. Relink.

Also add TimeStamp aka RowVersion fields to all tables which Access will be
accessing. This will improve form update performance.

Tony

Reply With Quote
  #5  
Old   
Rick Brandt
 
Posts: n/a

Default Re: Linking Access 2003 .mdb to SQL backend - 01-24-2009 , 08:47 PM



On Sat, 24 Jan 2009 18:45:28 -0700, Tom van Stiphout wrote:

Quote:
On Sat, 24 Jan 2009 21:17:50 GMT, "Tony Toews [MVP]"
ttoews (AT) telusplanet (DOT) net> wrote:

A timestamp column IN ADDITION TO a Primary Key? Certainly Access would
not need two unique values to determine which row's which?

The Timestamp simplifies the test against the edit buffer to see if the
record has been changed on the server. It's not for identifying the row.


--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Reply With Quote
  #6  
Old   
Tony Toews [MVP]
 
Posts: n/a

Default Re: Linking Access 2003 .mdb to SQL backend - 01-25-2009 , 11:05 PM



"David W. Fenton" <XXXusenet (AT) dfenton (DOT) com.invalid> wrote:

Quote:
I've just made it a practice of putting a timestamp field in all my
SQL Server tables (I wouldn't ever have tables with a PK, so that's
not something I had to add to my repertory when moving to SQL
Server).
Presumably there's a not in "I wouldn't ever have tables with a PK, "

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/


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.