T
Ticotion
Hi
I have a cross tab query that gets week no. input from a form. The cross tab
should show week number, department and a OEE value. I use the following
select statement and I've defined the form input in the parameter menu.
PARAMETERS [Forms]![Frm_fac]![combo5] Text ( 255 ),
[Forms]![Frm_fac]![combo11] Text ( 255 );
TRANSFORM Sum(qry_generelOEE.OEE) AS SumOfOEE
SELECT qry_generelOEE.weeknb
FROM qry_generelOEE
WHERE (((qry_generelOEE.weeknb) Between [Forms]![Frm_fac]![combo5] And
[Forms]![Frm_fac]![combo11]))
GROUP BY qry_generelOEE.weeknb
PIVOT qry_generelOEE.dptnb;
The problem is that I get an error massage saying the statement is to
complex (error statement 3010). Is there anyóne who get help me with a
solution how to simplyfie the query?
Thanks
Ticotion
I have a cross tab query that gets week no. input from a form. The cross tab
should show week number, department and a OEE value. I use the following
select statement and I've defined the form input in the parameter menu.
PARAMETERS [Forms]![Frm_fac]![combo5] Text ( 255 ),
[Forms]![Frm_fac]![combo11] Text ( 255 );
TRANSFORM Sum(qry_generelOEE.OEE) AS SumOfOEE
SELECT qry_generelOEE.weeknb
FROM qry_generelOEE
WHERE (((qry_generelOEE.weeknb) Between [Forms]![Frm_fac]![combo5] And
[Forms]![Frm_fac]![combo11]))
GROUP BY qry_generelOEE.weeknb
PIVOT qry_generelOEE.dptnb;
The problem is that I get an error massage saying the statement is to
complex (error statement 3010). Is there anyóne who get help me with a
solution how to simplyfie the query?
Thanks
Ticotion