I've searched google and this forum without answer.
Problem: I want to create a query to feed report in which one of the three selection criteria is that Absolute Value of an amount field (UCACurrent) is >= a parameter value as provided by report user (parameter is [Enter lowest absolute value of UCA]). When I run the report (or query) its like this absolute value criteria is ignored!
I already tried creating a sub-query that creates the absolute value "AS AbsUCA" then in outer query I use 'WHERE AbsUCA >= [Enter lowest absolute value UCA].
Any suggestions? My full query SQL is as follows:
SELECT Job, Sjob,AbsUCA, UCACurrent
FROM (SELECT JobDetail2007.Job As Job, Sjob, Org, Abs([UCACurrent]) AS AbsUCA, UCACurrent
FROM JobDetail2007 INNER JOIN JobSubDetail2007 ON JobDetail2007.Job = JobSubDetail2007.Job) WHERE AbsUCA>=[enter lowest AbsUCA];
Thanks. Jeff
Problem: I want to create a query to feed report in which one of the three selection criteria is that Absolute Value of an amount field (UCACurrent) is >= a parameter value as provided by report user (parameter is [Enter lowest absolute value of UCA]). When I run the report (or query) its like this absolute value criteria is ignored!
I already tried creating a sub-query that creates the absolute value "AS AbsUCA" then in outer query I use 'WHERE AbsUCA >= [Enter lowest absolute value UCA].
Any suggestions? My full query SQL is as follows:
SELECT Job, Sjob,AbsUCA, UCACurrent
FROM (SELECT JobDetail2007.Job As Job, Sjob, Org, Abs([UCACurrent]) AS AbsUCA, UCACurrent
FROM JobDetail2007 INNER JOIN JobSubDetail2007 ON JobDetail2007.Job = JobSubDetail2007.Job) WHERE AbsUCA>=[enter lowest AbsUCA];
Thanks. Jeff