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 : Error Message using Microsoft QuerySearch Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Error Message using Microsoft Query 
 Author   Message 
  Jimmy 
  
 Group: Members 
 Posts: 2 
 Joined: 2008-10-03 
 Profile
 Posted : 2008-10-04 03:31:54
After I have chosen data from BillItemLine, ItemInventory & invoiceLine,  I get an error message saying that

"The Query Wizard can not continue because it can not join the tables in your query.  You must join the tables manually by dragging the fields to join between tables"

How do I drag the fields between tables?  Is there a simplier way of doing this? Can I create multi-file reports using Microsoft Query?

Thanks. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-10-04 11:35:45

Just open one table only and then click on the [SQL] button and paste the SQL query statement you want to use as there's no releationship between BillItemLine and InvoiceLine.

Queries like:

Select BillItemLine.ItemLineItemRefFullName as Part,
BillItemLine.ItemLineDesc as "Desc", max(BillItemLine.TxnDate) as LastPurchased,
BillItemLine.ItemLineQuantity as PurchQTY,
max(InvoiceLine.TxnDate) as LastSold, InvoiceLine.InvoiceLineQuantity as SoldQTY,
{fn CURDATE()} - {fn CONVERT(BillItemLine.TxnDate, SQL_DATE)} as DaysInStock
from BillItemLine, ItemInventory, InvoiceLine
Where BillItemLine.ItemLineItemRefListID =  ItemInventory.ListID
and BillItemLine.ItemLineItemRefListID = InvoiceLine.InvoiceLineItemRefListID
and BillItemLine.TxnDate > InvoiceLine.TxnDate
group by BillItemLine.ItemLineItemRefFullName, BillItemLine.ItemLineDesc,
BillItemLine.TxnDate, BillItemLine.ItemLineQuantity, InvoiceLine.TxnDate,
InvoiceLine.InvoiceLineQuantity

can not be graphically represented in MS Query.

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to