Re: Excel ODBC query loosing parameter when returning the query result directly to a pivot table.

Поиск
Список
Период
Сортировка
От Danny Severns
Тема Re: Excel ODBC query loosing parameter when returning the query result directly to a pivot table.
Дата
Msg-id b231095b-478b-11d6-bc58-e55afc1f5cde@gmail.com
обсуждение исходный текст
Ответ на Excel ODBC query loosing parameter when returning the query result directly to a pivot table.  (Andreas Beier <anbeier@gmail.com>)
Ответы Re: Excel ODBC query loosing parameter when returning the query result directly to a pivot table.  (Andreas Beier <anbeier@gmail.com>)
Список pgsql-odbc

Have you tried looking at the Excel.dmp file that should have been created by the crash.  You might also want to look at the windows event log to see if it is any help.  It sounds like a data type mismatch, but that is just a guess.

"It's so simple to be wise. Just think of something stupid to say and then don't say it." -Sam Levenson
On 9/8/2021 7:34 AM, Andreas Beier wrote:
Hi everyone,

I am using postgres odbc for quite a while within within excel using parameters (i.e. using ?s within the query).

When defining odbc queries in Excel I select "PivotTable Report" instead of "Table", thus creating a pivot table directly without having the raw data in an extra sheet.

Once created, I can alter the query and define parameter (s)linking to an excel cell.

Everything works well until I (save and) reopen the file and try to update: Than my excel crashs. :(

I did find out, that the parameter definition I defined before is empty when opening the file. When I do redefine it, everthing works well again until I (save and) reopen the file and try to update: Than my excel crashs. :(

So it's very reproduceable.

I am using the 32bit driver, latest version and I am running Excel 2010 and 2016.

Any idea whats wrong here?

Thanks
Andreas

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Andreas Beier
Дата:
Сообщение: Excel ODBC query loosing parameter when returning the query result directly to a pivot table.
Следующее
От: Andreas Beier
Дата:
Сообщение: Re: Excel ODBC query loosing parameter when returning the query result directly to a pivot table.