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 : error parsing complete xml aarrrggghhh!!!!Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 error parsing complete xml aarrrggghhh!!!! 
 Author   Message 
  kalderman 
  
 Group: Members 
 Posts: 3 
 Joined: 2007-11-29 
 Profile
 Posted : 2007-11-29 16:12:25

I keep getting this message when I use QODBC.  I use QODBC to insert and update lists in Quickbooks.  I am using Quickbooks Pro 2007, QODBC 8.0 and MS Access 2002 SP3.

I am starting a new company in Quickbooks Pro 2007.  This is a brand new data base with no transactions.  I use Quickbooks import feature to copy my customer list from another database.  However it does not copy the customfields and the notes are truncated at 255 digits.  I am attempting to import these items using QODBC.

QODBC generally imports the first customs fields without problem.  But when I try to import other fields and the notes I get the "error parsing complete xml" kiss of death.

Here is my MS Access SQL command: 

UPDATE CustomerToyCorp INNER JOIN Query1 ON CustomerToyCorp.Name = Query1.Name SET CustomerToyCorp.CustomFieldBirthday = Query1!CustomFieldBirthday, CustomerToyCorp.CustomFieldLastVisit = Query1!CustomFieldLastVisit, CustomerToyCorp.CustomFieldListID = Query1!ListID, CustomerToyCorp.CustomFieldNoOfVisits = Query1!Count;


 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-11-29 16:23:55
I can't see how the normal update where condition is being handled here. See: How do I update Customer custom fields? for more details. 

  Top 
  kalderman 
  
 Group: Members 
 Posts: 3 
 Joined: 2007-11-29 
 Profile
 Posted : 2007-11-30 01:26:03

I shouldn't need a where statement if I am doing it for all records.  I could try 'where Query1!Count is not null' if that would help.

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-11-30 12:42:16
You need to actually look at the bottom of the QODBC Message Log found in the QODBC Setup Screen for the actual SQL statement passed by MS Access 2002 to QODBC. Custom field updates are a difficult part of the intuit qbXML SDK. While we have made it appear as a simple update, it's only in appearence. Custom field updates need to be done on a one row at a time basis. If you limit the update to a single customer and loop through the customers instead, it should work.  

  Top 
  kalderman 
  
 Group: Members 
 Posts: 3 
 Joined: 2007-11-29 
 Profile
 Posted : 2007-12-02 16:44:22

I was able to finally get it to work.  Instead of importing into QB 2007 Pro from Excel, I inserted the customer data from Access.  I then updated it the Customer Notes and then updated the Custom Fields.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to