Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-07
3
Medium Priority
?
1,295 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 500 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

782 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