Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : MS Access terminates after using sp_batch startSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC SQL Support Forum

 New Topic 
 
 Post Reply 
[1]  
 MS Access terminates after using sp_batch start 
 Author   Message 
  Shuff 
  
 Group: Members 
 Posts: 3 
 Joined: 2006-05-04 
 Profile
 Posted : 2006-08-31 04:19:15

Hi,

I'want to use the sp_batch..... procedures to optimize my insert procedures from MS Access.

I've created a Pass-Thru query (with 'Returns Records' set to 'No') for each sp_batch statement.

When I run the sp_batchstart ReceivePaymentLine query, MS Access terminates. What could be wrong?

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-08-31 09:19:24

You are correct, I tested MS Access SQL Pass-Through Queries with both return records set to "Yes" and "No" and get the same exception error:

I then ran the following SQL Statement sequence using VB Demo without a problem:

BatchStart
sp_batchstart InvoiceLine

BatchInsert1
INSERT INTO "InvoiceLine" ("CustomerRefListID", "RefNumber",
"InvoiceLineItemRefListID", "InvoiceLineDesc", "InvoiceLineRate",
"InvoiceLineAmount", "InvoiceLineSalesTaxCodeRefListID", "FQSaveToCache")
VALUES ('AC0000-1197757899', 'Batch1', '250000-933272656', 'Bin Permit Renovations',
200.00000, 200.00, '20000-999022286', 0) 

BatchInsert2
INSERT INTO "InvoiceLine" ("CustomerRefListID", "RefNumber",
"InvoiceLineItemRefListID", "InvoiceLineDesc", "InvoiceLineRate",
"InvoiceLineAmount", "InvoiceLineSalesTaxCodeRefListID", "FQSaveToCache")
VALUES ('AC0000-1197757899', 'Batch2', '250000-933272656', 'Bin Permit Renovations',
200.00000, 200.00, '20000-999022286', 0) 

BatchUpdate
sp_batchupdate  InvoiceLine

This problem has been escalated to Level 2 Support with the QODBC Software Engineer under Ticket ID: BR00000015. No resolution time frame is available at this point of time. 

 

  Top 
  Shuff 
  
 Group: Members 
 Posts: 3 
 Joined: 2006-05-04 
 Profile
 Posted : 2006-09-01 22:22:47
Thank you for the quick reply. Do you know a workaround for this, so I can optimize the insert function within MS Access? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-09-02 09:10:23
Sorry, you're stuck with regular inserts for now. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-08-08 09:32:41
Please update to QODBC Release v7.1.0.230 as this bug has been fixed (Release 7.1.0.225 Fixes). See: How can I get the latest version of QODBC?   

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to