Solved

3159 error when running an access query from VB

Posted on 1998-11-17
4
195 Views
Last Modified: 2008-03-04
When I run
    cDBRoutinesInst.ApplicationDB.Execute (sSQLInsert)  
I get a 3159 error. Any ideas? TIA.
0
Comment
Question by:schoon
  • 3
4 Comments
 

Author Comment

by:schoon
Comment Utility
Edited text of question
0
 

Author Comment

by:schoon
Comment Utility
Edited text of question
0
 

Accepted Solution

by:
air3rlr earned 300 total points
Comment Utility
Access is very forgiving and my not always catch Sequel Errors, my suggestion to you is to start small, with one expression at a time and verify that each expression is working properly then nest them as you have above. I have recieved this error when the SQL was incorrect.  Good Luck
0
 

Author Comment

by:schoon
Comment Utility
Thanks for your answer. The problem disappeared later the same day. I don't know why. So long as it doesn't reappear before my contract runs out I'm happy.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

762 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now