Solved

3159 error when running an access query from VB

Posted on 1998-11-17
4
201 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Author Comment

by:schoon
ID: 1445305
Edited text of question
0
 

Author Comment

by:schoon
ID: 1445306
Edited text of question
0
 

Accepted Solution

by:
air3rlr earned 300 total points
ID: 1445307
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
ID: 1445308
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month7 days, 1 hour left to enroll

623 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