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 : Performance questionSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Performance question 
 Author   Message 
  vitvov 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-06-16 
 Profile
 Posted : 2007-03-17 01:33:39

I am using v6 QODBC + Enterprise Edision v6 + 200Mb DB

I am running report something like this

sp_report CustomerBalanceDetail show Date, RowData, Amount, AmountDifference,  DueDate, OpenBalance, PaidStatus, TxnType, SalesRep parameter DateMacro = 'All' where PaidStatus = 'Unpaid'

using Crystal + QODBC

It takes HOURS to get this report. Is this something wrong with my query or how it should work. Also I've read about V7 and performance. It will help if I will have v7? Significantly or how? Any ideas about performance?

Thanks

Vitali

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-03-17 09:35:30

The QODBC optimizer doesn't optimizer QuickBooks reports called using sp_report. I suggest you limit your date filter using DateFrom={d'2006-01-01'}, DateTo={d'2007-06-01'} instead of DateMacro = 'All', ie:-

sp_report CustomerBalanceDetail show Date, RowData, Amount, AmountDifference,  DueDate, OpenBalance, PaidStatus, TxnType, SalesRep parameter DateFrom={d'2006-01-01'}, DateTo={d'2007-06-01'} where PaidStatus = 'Unpaid'

 

  Top 
  vitvov 
  
 Group: Members 
 Posts: 6 
 Joined: 2006-06-16 
 Profile
 Posted : 2007-03-22 03:05:39

Thank you for  your help.
Is there any other way, such as:

replace sp_report with SQL query and use next version of QODBC, correct? If yes, we have 6.0 do you have upgrade for new version?

Thanks,

Vitali

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-03-22 11:03:20
Try looking at: How do I run a Customer Balance Detail Report?  

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to