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 : How to conduct an QODBC Excel Query using Wizard for...Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 How to conduct an QODBC Excel Query using Wizard for... 
 Author   Message 
  kanes 
  
 Group: Members 
 Posts: 15 
 Joined: 2008-04-15 
 Profile
 Posted : 2008-05-08 02:23:37
Hi,

I am trying to conduct and Excel query for 'InventoryValuationSummary' but haven't been able to find it anywhere in the tables in QB.

Obviously I do not have enough knowledge to locate it.

I would appreciate if I can get some hint on that.

Thanks!

- MK 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-05-08 08:07:16

Actually that's a report. You need to run the following SQL command within MS Query:

sp_report InventoryValuationSummary show Text, Blank, ItemDesc, QuantityOnHand, AverageCost,
ValueOnHand, PercentOfTotalValue, UnitPrice, RetailValueOnHand, PercentOfTotalRetail
parameters DateMacro = 'ThisMonthToDate'

See: How do I use the QuickBooks Reporting Engine with QODBC? I've heard something about sp_report ? 
and: How do I use prompted date ranges in MS Excel? for more.

 

  Top 
  kanes 
  
 Group: Members 
 Posts: 15 
 Joined: 2008-04-15 
 Profile
 Posted : 2008-05-08 20:21:50
Great thanks!

This is working very well and I have generated a query which is executing properly.

However, I just wanted to have it confirmed if there is no mistake done from developer & logical point of you that might give me some inaccurate results. This is the query I used (VBS/VBA) which is working properly.

sSQL = "sp_report InventoryValuationSummary show Text, Blank, ItemDesc, QuantityOnHand, AverageCost, ValueOnHand , PercentOfTotalValue, UnitPrice, RetailValueOnHand, PercentOfTotalRetail parameters DateMacro = 'ThisMonthToDate'"

I will be customising it further for our personal requirements. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-05-09 08:14:23
The SQL statement sSQL looks good to me. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to