Calling query which uses alias results in different value

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • akinter@umich.edu

    Calling query which uses alias results in different value

    Hello, and thank you for your help. I have a query that I call from a
    VBA function which results in a different value than when viewed in the
    datasheet window. The query does a calculation, and stores an
    intermediate value using an alias, then uses that value to
    format(round()) so that a pdf file can accept it. If I don't use the
    intermediate alias (I use it as this value is also used for other
    calculations) it works fine. Also, when I view the value either in
    datasheet view, or from within a form - it's correct. But after coming
    out of the function - it is incorrect.

    Does anyone have any idea why this would happen?

    Thank you again for your help.
    Lex

Working...