原因是,在交叉表查询中的参数必须设定数据类型。菜单:query->parameters。越来越觉得帮助是最好的教材呀!Specify a [url=mkMSITStore:C:\Program%20Files\Microsoft%20Office\OFFICE11\1033\acmain11.chm::/html/achowCreateParameterQueryThatPromptsCriteriaUsesSeS.htm#]data type[/url] for the parameters if your parameter query:
Is a crosstab query or the underlying query for a crosstab query. (In these cases, you must also set the ColumnHeadings property in the crosstab query.)
How?
On the Query menu, click Parameters.
In the first Parameter cell, type the first prompt you entered in the query [url=mkMSITStore:C:\Program%20Files\Microsoft%20Office\OFFICE11\1033\acmain11.chm::/html/achowCreateParameterQueryThatPromptsCriteriaUsesSeS.htm#]design grid[/url].
In the Data Type cell to the right, click the appropriate [url=mkMSITStore:C:\Program%20Files\Microsoft%20Office\OFFICE11\1033\acmain11.chm::/html/achowCreateParameterQueryThatPromptsCriteriaUsesSeS.htm#]data type[/url] ...