J
Jy
I am creating a report break down by area code. I use cross tab in query and
form to input the area code. Each time, the form pompt to enter the area
code. After I enter the area code, it show up the error message as "Microsoft
jet engine does not recognize " as valide frield name and expression. " The
cross tab query is as following:
PARAMETERS [Forms]![Area Code Dialog]![AREACODE] Text ( 255 );
TRANSFORM Sum(comp1.SUBS) AS SumOfSUBS
SELECT comp1.WEEK, Sum(comp1.SUBS) AS TOT
FROM comp1
WHERE (((comp1.AREA_CODE) Is Not Null And (comp1.AREA_CODE)=[Forms]![Area
Code Dialog]![AREACODE]))
GROUP BY comp1.WEEK
PIVOT comp1.COMP_CODE;
Is there anyone who can give some suggestion? Thanks.
Jy
form to input the area code. Each time, the form pompt to enter the area
code. After I enter the area code, it show up the error message as "Microsoft
jet engine does not recognize " as valide frield name and expression. " The
cross tab query is as following:
PARAMETERS [Forms]![Area Code Dialog]![AREACODE] Text ( 255 );
TRANSFORM Sum(comp1.SUBS) AS SumOfSUBS
SELECT comp1.WEEK, Sum(comp1.SUBS) AS TOT
FROM comp1
WHERE (((comp1.AREA_CODE) Is Not Null And (comp1.AREA_CODE)=[Forms]![Area
Code Dialog]![AREACODE]))
GROUP BY comp1.WEEK
PIVOT comp1.COMP_CODE;
Is there anyone who can give some suggestion? Thanks.
Jy