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 : sp_report (too many fields error)Search Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC Frequently Asked Questions

 New Topic 
 
 Post Reply 
[1]  
 sp_report (too many fields error) 
 Author   Message 
  RE-Austin 
  
 Group: Members 
 Posts: 1 
 Joined: 2006-09-16 
 Profile
 Posted : 2006-09-16 07:36:40
i'm trying to run the sp_report payroll summary report within Access and i'm getting the error 'too many fields defined'. is there something i'm missing? 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-09-16 11:37:35

Open Microsoft Access 2003, create a new mdb and click on the "Queries" Object and select "New | Design View" query as shown:

Close the "Show Table" pane:

Right click within the Design view pane and select a "SQL Specific > Pass-Through" query as shown:

Paste the following example Payroll Sumary Report or your own sp_report into the pane:

sp_report PayrollSummary show Label, AmountHours, AmountRate, Amount
parameters DateMacro = 'ThisQuarterToDate' where RowType='DataRow'

and right click on the (blue) Title bar and select "Properties" to setup the connection parameters:

Change the "ODBC Connect Str" to call QODBC like this:

ODBC;DSN=QuickBooks Data;SERVER=QODBC

and open the pass-through query to see the end result!

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to