Solved

Insert error, both in VBA and sql (Reserved error (-1517); there is no message for this error)

Posted on 2006-11-07
3
1,264 Views
Last Modified: 2008-01-09
Very weird - - - in a section of code that's been successfully tested, I'm getting an unusual error: "Reserved error (-1517); there is no message for this error"

It took me a while (well, 15 minutes) to track this down, but it turns out the linked table was bad.

I could insert into the back-end successfully, so I re-did the link and all was well, this happened for two tables. I've never seen this in 2 years of pretty active Access work.

I was able to solve the error but it's nerve-wracking to have this happen. What if this happens to a user? it's a fatal error that requires a surgeon . . .

Is this common, or perhaps not unheard of?

Thanks.
0
Comment
Question by:Alaska Cowboy
  • 2
3 Comments
 
LVL 38

Accepted Solution

by:
puppydogbuddy earned 125 total points
ID: 17889327
Bill,
See the following link from Tony Toew's web site

                http://www.granite.ab.ca/access/reservederror1517.htm
0
 
LVL 1

Author Comment

by:Alaska Cowboy
ID: 17889868
PDP,

thanks, you sure have a wealth of info at your fingertips.

The article confirms what I found and makes sense given that I was fiddling with the schema. So I'll be able to better respond next time.

Bill
0
 
LVL 38

Expert Comment

by:puppydogbuddy
ID: 17890001
Bill,
Glad I could help.  Thanks for the points and grade.
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

825 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