R
Renee
I seriously need some help here. I'm fairly good with queries, but I
struggle with crosstab queries. I have a crosstab query in which my columns
are dates and my rows are names I have tried typing in the criteria line
"Between [Start Date] And [End Date]" in the date field to get data within a
specific period (i.e., all the columns would be between 09/01/2009 and
09/30/2009), but when I run it, I get an error message that says "The
Microsoft Office Access Database engine does not recognize '[Start Date]' as
a valid field name or expression."
Here is my SQL statement:
TRANSFORM Sum([All Inspections by Insp Name].itInspectNo) AS SumOfitInspectNo
SELECT [All Inspections by Insp Name].itInspectType, [All Inspections by
Insp Name].inInspectorNm, Sum([All Inspections by Insp Name].itInspectNo) AS
[Total Of itInspectNo]
FROM [All Inspections by Insp Name]
GROUP BY [All Inspections by Insp Name].itInspectType, [All Inspections by
Insp Name].inInspectorNm
PIVOT Format([itInspectDate],"Short Date");
Can someone help me right a parameter comment that will give me the pop up
boxes that asks for the start date and end date based on itInspectDate?
I really appreciate anyone's help on this.
Thank you.
struggle with crosstab queries. I have a crosstab query in which my columns
are dates and my rows are names I have tried typing in the criteria line
"Between [Start Date] And [End Date]" in the date field to get data within a
specific period (i.e., all the columns would be between 09/01/2009 and
09/30/2009), but when I run it, I get an error message that says "The
Microsoft Office Access Database engine does not recognize '[Start Date]' as
a valid field name or expression."
Here is my SQL statement:
TRANSFORM Sum([All Inspections by Insp Name].itInspectNo) AS SumOfitInspectNo
SELECT [All Inspections by Insp Name].itInspectType, [All Inspections by
Insp Name].inInspectorNm, Sum([All Inspections by Insp Name].itInspectNo) AS
[Total Of itInspectNo]
FROM [All Inspections by Insp Name]
GROUP BY [All Inspections by Insp Name].itInspectType, [All Inspections by
Insp Name].inInspectorNm
PIVOT Format([itInspectDate],"Short Date");
Can someone help me right a parameter comment that will give me the pop up
boxes that asks for the start date and end date based on itInspectDate?
I really appreciate anyone's help on this.
Thank you.