I have a query that I want to open in Pivot Table mode, so I use the code:
DoCmd.OpenView "dbo.qryHoursPivot", acViewPivotTable, acEdit
The pivot tables open, but when I try to set the rows/columns/detail, the message: "The query could not be processed: The data provider didn't supply any further error information". The query opens fine in datasheet mode, so I don't understand what the problem could be. Any ideas?
DoCmd.OpenView "dbo.qryHoursPivot", acViewPivotTable, acEdit
The pivot tables open, but when I try to set the rows/columns/detail, the message: "The query could not be processed: The data provider didn't supply any further error information". The query opens fine in datasheet mode, so I don't understand what the problem could be. Any ideas?