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
|
|
Crosstab Queries |
Author |
Message |
|
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 |
|
|
|
Tom |
|
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. |
|
|
|
|