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 : Working with the Optimizer.Search Forum

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

 New Topic 
 
 Post Reply 
[1]  
 Working with the Optimizer. 
 Author   Message 
  Bill 
  
 Group: Members 
 Posts: 2 
 Joined: 2008-08-30 
 Profile
 Posted : 2008-09-04 02:03:17


I am having a hard time understanding how exactly the optimizer works.  Looking at the posts it appears others are also confused.

I am running a Query in the vbDemo app which is: 
Select firstname, lastname from customer where fullname is 'test' 

When I go into QB and update the customers first and last name I do not see the changes in the VBDemo app.

I have tried:
Select firstname, lastname from customer where fullname is 'test' 
Select firstname, lastname from customer VERIFIED where fullname is 'test' 
Select firstname, lastname from customer CALLDIRECT where fullname is 'test' 
Select firstname, lastname from customer OPTIMIZE where fullname is 'test' 

All three of these return the unchanged data. 

If I run:
Select * from customer where fullname is 'test' 
and then run:
Select firstname, lastname from customer where fullname is 'test' 
I see the changes?  (Note I do not see the changes in the first query Select * ...)


The optimizer is turned on and is set to  "The start of every query"

I was under the impression that using the CALLDIRECT | UNOPTIMIZED option would show me the changes immediately.

Thanks in advance

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-09-04 07:56:22

You need to save the change in QuickBooks and close the entry dialog first. Allow a second or two..three..four..five for Windows to catch up and then do:

Select firstname, lastname from customer CALLDIRECT where fullname is 'test' 

 

 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to