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 : Crosstab QueriesSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC SQL Support Forum

 New Topic 
 
 Post Reply 
[1]  
 Crosstab Queries 
 Author   Message 
  Jeremy Springer 
  
 Group: Members 
 Posts: 1 
 Joined: 2006-05-06 
 Profile
 Posted : 2008-05-24 10:50:06
I'm trying to use sp_reports to run a profit and loss by job but keep running into the fact that access has a 255 record limit on columns. My company has well over 255 jobs occuring at once. So, it comes back with a "Too Many Fields" error.

My question is this. Is it possible to run a crosstab query against QODBC in which I would embed the sp_report line? If so, what's the syntax to do this?

Thanks 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-05-26 17:31:20

Sorry, crosstab queries can't be run against sp_reports. But you can call the report by all the jobs for each customer name:

sp_report ProfitAndLossByJob show Amount_Title, Text, Label, Amount
parameters DateMacro = 'LastMonth', SummarizeColumnsBy = 'Customer',
EntityFilterFullNameWithChildren = 'CustomerNameHere:JobNameHere'

over and over again for each of the customers you are interested in.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to