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 : Extract Transaction table data into Excel from MS QuerySearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC v9 Forum

 New Topic 
 
 Post Reply 
[1]  
 Extract Transaction table data into Excel from MS Query 
 Author   Message 
  Aaron 
  
 Group: Members 
 Posts: 6 
 Joined: 2008-09-22 
 Profile
 Posted : 2008-12-01 18:05:16

Hi there

I am wanting to pull out the transaction table data based on user defined inputs for the "TimeCreated" field.

I am familiar with MS Query and Excel in terms of how to set up the query so that the user can change the values to get fresh data, but I don't know how to limit the records returned based on the TimeCreated field.

Is this possible, and if so, what syntax should I be using?  Below is my query without the date parameter.

SELECT Transaction.EntityRefFullName, Transaction.EntityRefListID, Transaction.TimeCreated, Transaction.TxnID, Transaction.TxnType, Entity.Type
FROM Entity Entity, Transaction Transaction
WHERE Transaction.EntityRefListID = Entity.ListID
Group by Transaction.EntityRefFullName, Transaction.EntityRefListID, Transaction.TimeCreated, Transaction.TxnID, Transaction.TxnType, Entity.Type

Thanks
Aaron

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-03 16:42:56
See: How do I use prompted date ranges in MS Excel?  

  Top 
  Aaron 
  
 Group: Members 
 Posts: 6 
 Joined: 2008-09-22 
 Profile
 Posted : 2008-12-03 23:23:52

Thanks for the reply Tom.

Why does it work when I do it that way, but when I try and add criteria to my query (as posted below) to filter on the TImeCreated field I get an error - Expected Lexical Element Not Found?

Thanks
Aaron

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-12-06 09:40:14
"Expected Lexical Element Not Found" is pruely a syntax error. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to