473,406 Members | 2,713 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Patch for SQL Server 2005?

I am developing an Access frontend for SQL Server 2005.

The version of Access I am using is 2003, and I find that it cannot
update
any table in SQL Server through VBA and SQL.

I was puzzled for quite a while, until I saw a message on one of the
sessions
stating that this version of Access can only update SQL Server 2000
and earlier.

Does anyone know of a patch to this problem? If so, where can I find
it?

Thanks,
Bubbles

Apr 26 '07 #1
10 3827
On 25 Apr 2007 18:05:56 -0700, bubbles <bu*********@hotmail.com>
wrote:

That's not correct. As long as you have an ODBC driver (SQL Native
Client), you should be able to connect to SQL2005 just fine.
Creating an Access Data Project (ADP) in A2003, connecting to a
SQL2005 database works as well.

-Tom.
>I am developing an Access frontend for SQL Server 2005.

The version of Access I am using is 2003, and I find that it cannot
update
any table in SQL Server through VBA and SQL.

I was puzzled for quite a while, until I saw a message on one of the
sessions
stating that this version of Access can only update SQL Server 2000
and earlier.

Does anyone know of a patch to this problem? If so, where can I find
it?

Thanks,
Bubbles
Apr 26 '07 #2
On Apr 26, 12:10 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
>
That's not correct. As long as you have an ODBC driver (SQL Native
Client), you should be able to connect to SQL2005 just fine.
Creating an Access Data Project (ADP) in A2003, connecting to a
SQL2005 database works as well.

-Tom.
I do not want to use an Access project for the following reason:

although I could hide the database window as well as all the database
objects,
and use a startup form, there is no foolproof way for someone to use
the Access
special keys to reveal the objects. Deleting a table in an Access
project really
deletes the SQL Server table.

I Access database, the delete action merely deletes the link to the
table(s).

Connection to the SQL Server is no problem. Its just that Access 2003
does not
allow me to update tables in SQL Server 2005.

Bubbles

Apr 27 '07 #3
bubbles wrote:
On Apr 26, 12:10 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:

That's not correct. As long as you have an ODBC driver (SQL Native
Client), you should be able to connect to SQL2005 just fine.
Creating an Access Data Project (ADP) in A2003, connecting to a
SQL2005 database works as well.

-Tom.

I do not want to use an Access project for the following reason:

although I could hide the database window as well as all the database
objects,
and use a startup form, there is no foolproof way for someone to use
the Access
special keys to reveal the objects. Deleting a table in an Access
project really
deletes the SQL Server table.

I Access database, the delete action merely deletes the link to the
table(s).

Connection to the SQL Server is no problem. Its just that Access 2003
does not
allow me to update tables in SQL Server 2005.

Bubbles
You're still not clearly stating what you mean. There is nothing about Access
2003 that prevents you from updating DATA in SQL Server 2005. Are you talking
about updating data or the structure of the tables?

I use Access 97, 2000, 2002, and 2003 against SQL Server 2005 tables and see no
difference whatsoever between any of them.
--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Apr 27 '07 #4
On 26 Apr 2007 17:19:15 -0700, bubbles <bu*********@hotmail.com>
wrote:

Perhaps you can't update SQL data tables because you did not specify
primary keys. Access cannot update the correct row if you don't tell
it (using the PK) what makes a row unique.
PKs are a really good idea for several other reasons as well.

The ability to delete a table can be prevented using SQL Server
security.

-Tom.
>On Apr 26, 12:10 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
>>
That's not correct. As long as you have an ODBC driver (SQL Native
Client), you should be able to connect to SQL2005 just fine.
Creating an Access Data Project (ADP) in A2003, connecting to a
SQL2005 database works as well.

-Tom.

I do not want to use an Access project for the following reason:

although I could hide the database window as well as all the database
objects,
and use a startup form, there is no foolproof way for someone to use
the Access
special keys to reveal the objects. Deleting a table in an Access
project really
deletes the SQL Server table.

I Access database, the delete action merely deletes the link to the
table(s).

Connection to the SQL Server is no problem. Its just that Access 2003
does not
allow me to update tables in SQL Server 2005.

Bubbles
Apr 27 '07 #5
On Apr 27, 11:23 am, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
On 26 Apr 2007 17:19:15 -0700, bubbles <bubbles....@hotmail.com>
wrote:

Perhaps you can't update SQL data tables because you did not specify
primary keys. Access cannot update the correct row if you don't tell
it (using the PK) what makes a row unique.
PKs are a really good idea for several other reasons as well.

The ability to delete a table can be prevented using SQL Server
security.

-Tom.
OK, I added an Identity column, and the system prompts me that I
need to use the dbSeeChanges option. Done that too, and it updates
fine.

By the way, I'm still using DAO. Time to move on...

Thanks!
Bubbles

Apr 30 '07 #6
Bri
bubbles wrote:
OK, I added an Identity column, and the system prompts me that I
need to use the dbSeeChanges option. Done that too, and it updates
fine.

By the way, I'm still using DAO. Time to move on...

Thanks!
Bubbles

There's no reason to 'move on'. DAO works fine with linked SQL Server
tables. Is it as efficient as ADO (your only other choice when working
with linked tables)? Maybe, maybe not. The differences in performance
are small enough that I wouldn't worry about it. If you know DAO then
you will be more productive than if you start using something you don't
have experience with.

--
Bri
Apr 30 '07 #7
On Apr 25, 9:05 pm, bubbles <bubbles....@hotmail.comwrote:
I am developing an Access frontend for SQL Server 2005.

The version of Access I am using is 2003, and I find that it cannot
update
any table in SQL Server through VBA and SQL.

I was puzzled for quite a while, until I saw a message on one of the
sessions
stating that this version of Access can only update SQL Server 2000
and earlier.

Does anyone know of a patch to this problem? If so, where can I find
it?

Thanks,
Bubbles
We use Access 2003 with SQL Server 2005 here and it works fine.
Someone mentioned adding indexes to the SQL Server tables and I can
confirm that if you don't have an index on a SQL Server table then
Access will NOT be able to update the data in the table. No patches
were required. We use both ADO and DAO without any problems.

There IS something funky about dbSeeChanges though. Apparently if
you're using it with OpenRecordset you have to specify the recordset
type as dbOpenDynaset, even though the default is dbOpenDynaset and
you would think it shouldn't have to be specified.

Apr 30 '07 #8
On May 1, 5:42 am, ManningFan <manning...@gmail.comwrote:
On Apr 25, 9:05 pm, bubbles <bubbles....@hotmail.comwrote:


I am developing an Access frontend for SQL Server 2005.
The version of Access I am using is 2003, and I find that it cannot
update
any table in SQL Server through VBA and SQL.
I was puzzled for quite a while, until I saw a message on one of the
sessions
stating that this version of Access can only update SQL Server 2000
and earlier.
Does anyone know of a patch to this problem? If so, where can I find
it?
Thanks,
Bubbles

We use Access 2003 with SQL Server 2005 here and it works fine.
Someone mentioned adding indexes to the SQL Server tables and I can
confirm that if you don't have an index on a SQL Server table then
Access will NOT be able to update the data in the table. No patches
were required. We use both ADO and DAO without any problems.

There IS something funky about dbSeeChanges though. Apparently if
you're using it with OpenRecordset you have to specify the recordset
type as dbOpenDynaset, even though the default is dbOpenDynaset and
you would think it shouldn't have to be specified.- Hide quoted text -

- Show quoted text -
Yeah, did that (dbOpenDynaset) and it works fine.
Thanx!
Bubbles

May 2 '07 #9
On May 1, 2:58 am, Bri <n...@here.comwrote:
bubbles wrote:
OK, I added an Identity column, and the system prompts me that I
need to use the dbSeeChanges option. Done that too, and it updates
fine.
By the way, I'm still using DAO. Time to move on...
Thanks!
Bubbles

There's no reason to 'move on'. DAO works fine with linked SQL Server
tables. Is it as efficient as ADO (your only other choice when working
with linked tables)? Maybe, maybe not. The differences in performance
are small enough that I wouldn't worry about it. If you know DAO then
you will be more productive than if you start using something you don't
have experience with.

--
Bri
The concern is that some day soon, Microsoft may withdraw support
for DAO...

Bubbles

May 2 '07 #10
"bubbles" <bu*********@hotmail.comwrote
The concern is that some day soon, Microsoft
may withdraw support for DAO...
Access 2007 has a new database file format -- it is derived from Jet. The
native language of that new database file format is derived from DAO. And,
to support databases created in previous versions, classic Jet and classic
DAO are included. As far as I know, there was little, if any, change /
improvement to classic ADO (which continues only in the Office-and-related
software world; Visual Studio and the Dot Net Framework use ADO.NET which is
different, built on a different object model).

The hype about ADO being the "wave of the future" for the last few versions
just didn't come to pass. If I were worrying about losing support for an
Access method, I'd be worrying about ADO, not DAO.

Larry Linson
Microsoft Access MVP
May 2 '07 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: glenn.owens | last post by:
Until now all of my VS2003 asp.net websites have been deployed to the target server's IIS6+ Default Web Site. Now I need to deploy to a different website and that seems to present a problem. ...
0
by: Olivier Ishacian | last post by:
XMLmind XML Editor V3.0 Patch 1 can be downloaded from http://www.xmlmind.com/xmleditor/download.shtml _____________________________________________ V3.0 Patch 1 (December 2, 2005) ...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 391 open ( +7) / 3028 closed (+12) / 3419 total (+19) Bugs : 906 open ( -3) / 5519 closed (+19) / 6425 total (+16) RFE : 207 open...
0
by: Kurt B. Kaiser | last post by:
Patch / Bug Summary ___________________ Patches : 398 open ( +5) / 3334 closed (+19) / 3732 total (+24) Bugs : 904 open ( -4) / 6011 closed (+36) / 6915 total (+32) RFE : 222 open...
0
by: JJ | last post by:
Having just run Microsoft update and installed the new patch for Visual Studio 2005, I get the following error in the event viewer upon restart: ..NET Runtime Optimization Service...
5
by: bubbles | last post by:
I am developing an Access 2003 frontend for SQL Server 2005. Problem: Access 2003 cannot update tables in SQL Server 2005 (but can update SQL Server 2000 tables) Is there a patch for Access...
1
by: Brad Pears | last post by:
I ahve a new Vista Home premium machine and have installed VS.net 2005 on it as well as SP1. I understand that I will also need a Vista patch for the software to run properly. Is this pathc...
3
by: Larry Leonard | last post by:
Running MSDE 2000 SP2 on Windows XP SP3. I have a T-SQL script that is relatively simple (adding constraints, inserting rows, etc.) and short (maybe 300 lines, heavily commented). It's an...
3
by: Joos123 | last post by:
Hi Using dts.dll and C# code we were importing data from text file to data base. Every thing was working fine till we run the patch for SQL Server 2005 SP2. After executing SP2 patch, the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.