Declare the parameter in the crosstab query, e.g. where the parameter is of long integer data type:
PARAMETERS Forms!NameOfForm!NameOfControl LONG;
TRANSFORM etc…
SELECT etc…
FROM etc…
WHERE NameOfColumn = Forms!NameOfForm!NameOfControl
GROUP BY etc…
PIVOT etc…
Ken Sheridan, Stafford, England