MikeDutcher
Technical User
My query passes data to VBA through user-defined functions.
I need to control the order that the columns are executed.
I want them to execute from left to right.
Based on the quote below, I suspect the Jet optimizer is changing my column order execution and thus my VBA public variables are not set in the order that I intend.
How can I turn off the Jet optimizer?
"Jet's sophisticated query optimizer means that the end user and developer needn't be concerned about the order of columns and tables in the query definition. The Jet Query Optimizer decides upon the most efficient query strategy and reorders the query's tables and columns to best optimize the query."
I need to control the order that the columns are executed.
I want them to execute from left to right.
Based on the quote below, I suspect the Jet optimizer is changing my column order execution and thus my VBA public variables are not set in the order that I intend.
How can I turn off the Jet optimizer?
"Jet's sophisticated query optimizer means that the end user and developer needn't be concerned about the order of columns and tables in the query definition. The Jet Query Optimizer decides upon the most efficient query strategy and reorders the query's tables and columns to best optimize the query."