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 : Grouping multiple statements into a single stringSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v6 Forum

 New Topic 
 
 Post Reply 
[1]  
 Grouping multiple statements into a single string 
 Author   Message 
  Pantek Developers 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-07-27 
 Profile
 Posted : 2006-07-28 08:38:49
Is it possible to use the QODBC driver to group mulitple INSERTs or UPDATEs into a single string?. I'd like to be able to combine "INSERT INTO InvoiceLine (InvoiceLineDesc, FQSaveToCache) VALUES ('Line 1',1)" and "INSERT INTO InvoiceLine (InvoiceLineDesc, FQSaveToCache) VALUES ('Line 2',1)" into a single string received once by the driver but executed as separate INSERTs. Aside from building a loop and iterating through each statement individually, is there a means to properly group statements without generating an "Unexpected extra token" error? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-07-28 12:10:42
No, each SQL Statement needs to be executed on its own. This is a SQL requirement. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to