M
Mike Riley
I have a pass through query that pulls data from a couple
tables. Currently, I have hard coded order number and
supp version criteria as shown below:
p.order_number = 54315 and p.supp_version = 8
What I want is to replace the "54315" and "8" values with
variables from a form similar to the follow which does NOT
work as shown:
p.order_number = [Forms]![frmCriteriaEntry]!
[txtEnterOrderNo] and p.supp_version = [Forms]!
[frmCriteriaEntry]![txtEnterOrderNoSupp]
Can anyone help me with the syntax .. assuming one can
indeed reference an Access form in a pass-through query.
Thanks.
tables. Currently, I have hard coded order number and
supp version criteria as shown below:
p.order_number = 54315 and p.supp_version = 8
What I want is to replace the "54315" and "8" values with
variables from a form similar to the follow which does NOT
work as shown:
p.order_number = [Forms]![frmCriteriaEntry]!
[txtEnterOrderNo] and p.supp_version = [Forms]!
[frmCriteriaEntry]![txtEnterOrderNoSupp]
Can anyone help me with the syntax .. assuming one can
indeed reference an Access form in a pass-through query.
Thanks.