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 : Pulling Data in Cold FusionSearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Pulling Data in Cold Fusion 
 Author   Message 
  Jim 
  
 Group: Members 
 Posts: 4 
 Joined: 2007-01-23 
 Profile
 Posted : 2007-01-27 06:13:30

I was able to pull some data out of the customer table so I thought I would try and pull something from the Invoice table but it errors out. Here is my code:

<cfoutput>
<cfquery name="ItemList" dataSource="QBs">SELECT TxnDate FROM Invoice WHERE RefNumber='52299'</cfquery>
#ItemList.TxnDate#
</cfoutput>

Error Occurred While Processing Request

Error Executing Database Query.

Timed out trying to establish connection
 

UltimatelY would like to pull a report similar to the sales by customer report but use my own formatting, I am just trying to get through some basic steps first.

Any ideas?  Thanks, Jim

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-01-27 12:16:01

Try going back to the DisplaySQL.cfm example and use:

<cfset sSQL="SELECT TxnDate FROM Invoice WHERE RefNumber='52299'">

or the fast search method using:

<cfset sSQL="SELECT TxnDate FROM Invoice NOSYNC WHERE RefNumber='52299'">

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to