PC Review


Reply
Thread Tools Rate Thread

Access 2003 / SQL Express 8 Can't Add Rows to Table

 
 
Josugar
Guest
Posts: n/a
 
      4th Sep 2008
I created an ADP in Access 2003 to connect to SQL Server Express 8 and
succesfully made the connection.
I also succesfully imported a new table, but when I tried to add records to
the new table, I can not do it. I tried opening the table but the add new
record is disabled.

Then I tried to create an update query as the help states for ADP.

I received the following message:
>You have connected to a version of SQL Server later than SQL Server 2000. The >version of Visual Studio or Access that you are using was released before the >version of SQL Server to which you are connected. For this reason, you might >encounter problems.
>
>Please check with Microsoft to see if there is a service pack that you should apply >to Visual Studio or Office in order to get support for the version of SQL Server to >which you are connected.


I red that you cannot make design changes to SQL Server objects
(http://office.microsoft.com/en-us/ac...745861033.aspx) but is adding
rows to a table a design change?
Is it possible to make row additions to a table in this scenario?

Thank you in advance
 
Reply With Quote
 
 
 
 
Norman Yuan
Guest
Posts: n/a
 
      4th Sep 2008
Does the said table has a PK (since you just imported from somewhere,
especially if it is from a Jet database, it is possible that there is no PK
in that table)? For a table without PK, you cannot add record from Access
UI, but you can add record with "INSERT INTO...." code.

"Josugar" <(E-Mail Removed)> wrote in message
news:75D34F51-4C53-4BDD-9EAE-(E-Mail Removed)...
>I created an ADP in Access 2003 to connect to SQL Server Express 8 and
> succesfully made the connection.
> I also succesfully imported a new table, but when I tried to add records
> to
> the new table, I can not do it. I tried opening the table but the add new
> record is disabled.
>
> Then I tried to create an update query as the help states for ADP.
>
> I received the following message:
>>You have connected to a version of SQL Server later than SQL Server 2000.
>>The >version of Visual Studio or Access that you are using was released
>>before the >version of SQL Server to which you are connected. For this
>>reason, you might >encounter problems.
>>
>>Please check with Microsoft to see if there is a service pack that you
>>should apply >to Visual Studio or Office in order to get support for the
>>version of SQL Server to >which you are connected.

>
> I red that you cannot make design changes to SQL Server objects
> (http://office.microsoft.com/en-us/ac...745861033.aspx) but is
> adding
> rows to a table a design change?
> Is it possible to make row additions to a table in this scenario?
>
> Thank you in advance


 
Reply With Quote
 
Josugar
Guest
Posts: n/a
 
      4th Sep 2008
Thank you Norman.
I. Yes it didn't had a PK, but I tryed to add a record with "INSERT INTO..."
code, was not able to do it (while in the SQL Server Management Studio I
could do it with the code).
To make it through the code I use the procedure in the help under "Create an
update query (ADP)" in Access 2003. But when I go to the designer it gives me
the error I described originally. It doesn't allow me to drop tables, but
then I used the SQL code pane (didn't needed the graphical help this time),
once I wrote the code it didn't execute it (even though it parses it
correctly, with the "Verify SQL Syntax" buttom).
II. I also added a PK and tried both with the UI and the code.
Neither had worked so far.

 
Reply With Quote
 
Norman Yuan
Guest
Posts: n/a
 
      5th Sep 2008
I do not have SQL Server 2008 installed, so cannot say more. Sorry.

"Josugar" <(E-Mail Removed)> wrote in message
news24A76A8-61CC-4C26-ADD2-(E-Mail Removed)...
> Thank you Norman.
> I. Yes it didn't had a PK, but I tryed to add a record with "INSERT
> INTO..."
> code, was not able to do it (while in the SQL Server Management Studio I
> could do it with the code).
> To make it through the code I use the procedure in the help under "Create
> an
> update query (ADP)" in Access 2003. But when I go to the designer it gives
> me
> the error I described originally. It doesn't allow me to drop tables, but
> then I used the SQL code pane (didn't needed the graphical help this
> time),
> once I wrote the code it didn't execute it (even though it parses it
> correctly, with the "Verify SQL Syntax" buttom).
> II. I also added a PK and tried both with the UI and the code.
> Neither had worked so far.
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access counts blank rows in Excel rows as records in linked table Linkerbink Microsoft Access External Data 1 14th Nov 2009 05:37 PM
how do I hide rows in an access table =?Utf-8?B?YWxleGFuZHJhIHp3aWNr?= Microsoft Access 2 24th Sep 2007 06:44 PM
update a SQL 2005 Express table with an MS Access 2003 table dan2bhm via AccessMonster.com Microsoft Access ADP SQL Server 3 3rd May 2006 08:22 PM
What is the maximum # of rows that can be used in an Access table? =?Utf-8?B?S2VuIFZhc2V5?= Microsoft Access 3 20th Jan 2006 06:52 PM
Importing Excel into Access table creates blank rows to table? =?Utf-8?B?ZWZhYWgw?= Microsoft Access External Data 1 11th Jan 2006 03:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:43 PM.