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 do I create a Pass-Through Report using Microsoft Access 2003?Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 How do I create a Pass-Through Report using Microsoft Access 2003? 
 Author   Message 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-03-14 09:53:13

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 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2006-12-12 08:25:09

NOTE: The default timeout in MS Access is 60 seconds, for large queries you will need to increase the query property to 600 seconds:

 

  Top 
  avalonacres 
  
 Group: Members 
 Posts: 4 
 Joined: 2008-01-30 
 Profile
 Posted : 2008-01-31 05:11:34
Why is "pass-though" report or query useful? 
What is it for?
Why would I want to use one?
 
Thank you for your time.
 
Tim
 
 
 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-01-31 08:51:46
"Pass-though" reports or queries are useful as it allows specific SQL statements to be sent directly to QODBC (including connection settings), bypassing the MS Access syntax checker. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to