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 : VB Demo Query QuestionsSearch Forum

Forum Home > QODBC - ODBC Driver for QuickBooks > QODBC SQL Sample Scripts Forum

 New Topic 
 
 Post Reply 
[1]  
 VB Demo Query Questions 
 Author   Message 
  Dalbir 
  
 Group: Members 
 Posts: 1 
 Joined: 2007-03-04 
 Profile
 Posted : 2007-03-04 13:22:16
Certain VB queries are not returning any results for me.  I'm wondering if it's an issue with my query or VB Demo.  For example "Select * FROM Invoice" doesn't return anything.  Neither does "SELECT Invoice.CustomerRefFullName FROM Invoice WHERE (Invoice.ShipDate = {d '2007-03-02'})", but "Select * FROM Customer" does.  Thanks in advance. 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2007-03-04 18:54:04

I'm going to guess that you have lots of Invoices. Try optimizing the Invoice table by running:

sp_optimizefullsync Invoice

in VB Demo first and then try:

SELECT Invoice.CustomerRefFullName, Invoice.RefNumber FROM Invoice NOSYNC WHERE (Invoice.ShipDate = {d '2007-03-02'})

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to