[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Linked SQL Table not allowing Insert

Posted on 2006-07-06
2
Medium Priority
?
240 Views
Last Modified: 2012-06-27
I have a SQL table linked into my database as I have done many times.  The table was first created in Access and imported to SQL 2005.  I created an ODBC connection and linked the table.  

I can see the data on the table, but for some reason, I cannot add records.  I get error: Insert Permission Denied.  I have many other tables with other Access databases linked to the same SQL database.  The permissions are all the same for all SQL tables on this database.  

I can't figure out what is specic about this table and why it won't let me add records.
Please help!

Scotto13
0
Comment
Question by:Scotto13
2 Comments
 
LVL 66

Accepted Solution

by:
Jim Horn earned 1000 total points
ID: 17051853
(Wild guess)  There is a known issue with SQL2K where SQL bit columns, if you feed a NULL into them (as in via an Access front-end from a form with a checkbox that allows nulls) will cause the table to not allow any future inserts.  Eyeball your SQL table and see if this is the case, and if so replace all NULL values in bit fields with 0 or 1.
0
 
LVL 3

Expert Comment

by:gemost
ID: 17052034
Besides JimHorns suggestion check the table in SQL server to see if your permissions are setup properly. I found the issue Jim talks about is the cause of a write conflict error message.

gemost
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question