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 : ADO vs. Linked TableSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 ADO vs. Linked Table 
 Author   Message 
  PH 
  
 Group: Members 
 Posts: 41 
 Joined: 2007-02-02 
 Profile
 Posted : 2008-10-21 18:22:24

I'm going to be inserting bills and invoices to Qbooks desktop using Access VBA.

Which is better/faster?

1. ADO connection (I guess no linked table is required)

2. Linked table using CurrentDB.Execute <sql statement>, vbFailOnError, INSERT statement

3. Create recordset, then use rs.addnew and rs.update

4. Other?

I believe I already noticed that #2 is quite a bit faster than #3.  Not sure about #1.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-10-22 08:12:20
The answer is always just executing the SQL Statement (like in #2), whether it's in an ADO RecordSet or a linked table, these are simply containers. The end of the day you need to pass QODBC an SQL Statement to execute. The less overhead the better. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to