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 : Importing Data Into Quick Books Online EditionSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Importing Data Into Quick Books Online Edition 
 Author   Message 
  Ed Nair 
  
 Group: Members 
 Posts: 2 
 Joined: 2006-04-11 
 Profile
 Posted : 2006-06-06 03:46:48

Failure when attempting to import data into the QBOE Customer table.  We have constructed a local customer table within Microsoft Access 2000.  The structure of this table matches the QBOE Customer table.  We are using an update query to add records to the QBOE Customer table from the local access customer table.  Either the process fails after accepting 1 record or the following error message is returned "Error Parsing Complete XML return string #10052".  The following is a copy of the SQL statement used

UPDATE [QB Customer], Customer SET Customer.Name = [QB Customer].[Name], Customer.BillAddressAddr1 = [qb customer].[billaddressaddr1], Customer.BillAddressAddr2 = [qb customer].[billaddressaddr2], Customer.BillAddressCity = [qb customer].[billaddresscity], Customer.BillAddressState = [qb customer].[billaddressstate], Customer.BillAddressPostalCode = [qb customer].[BillAddressPostalCode], Customer.Phone = [qb customer].[phone], Customer.AltPhone = [qb customer].[altphone];

Could someone please tell us what we are doing incorrectly. 

Thank You.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-06-06 09:10:21

Sorry, the UPDATE command is used to change existing records, not create them. See: How do I update Customer custom fields? for an example of creating a new customer and updating the customer later on. When using the QuickBooks Online Edition (QBOE) the ListIDs are small numbers starting from 1.


 

 

  Top 
  Ed Nair 
  
 Group: Members 
 Posts: 2 
 Joined: 2006-04-11 
 Profile
 Posted : 2006-06-07 00:16:10
Thank You for your response.  However, we wish to add more than one record at a time, for example we are trying to import a customer list that has been exported from a proprietary data base, there are over 1200 customers.  Is it possible to import multiple records from either an access table or an excel spreadsheet? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-06-07 08:26:49

In Access you will need to use VBA to create a module that loops through your dataset creating QODBC insert statements.

See: VB Script Performance importing from SQL Server to QuickBooks for an example.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to