Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
When you write a SQL Query for a QueryTable of Pivot Table, you have to parse the query in order not to exceed 255 chars -if you're storing the SQL Query in a string variable-. PivotTables ======== ActiveCell.PivotTables(1).PivotCache.SQL QueryTables ========= ActiveCell.QueryTables(1).CommandText Is it possible to read the SQL string from a text file? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
Not sure I understand. I am using pivot tables with commandText going well over 1,000 characters. Why do you have this 255 chars limit? Due to specific driver? String variables can have over 2 billion characters. -- Regards, Sébastien <http://www.ondemandanalysis.com "LCK" wrote: Hi When you write a SQL Query for a QueryTable of Pivot Table, you have to parse the query in order not to exceed 255 chars -if you're storing the SQL Query in a string variable-. PivotTables ======== ActiveCell.PivotTables(1).PivotCache.SQL QueryTables ========= ActiveCell.QueryTables(1).CommandText Is it possible to read the SQL string from a text file? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formatting a Sentence With TEXT Function | Excel Discussion (Misc queries) | |||
convert text to sentence case | Excel Discussion (Misc queries) | |||
HYPERLINK - insert within a text sentence | Excel Worksheet Functions | |||
Sentence (text) running off grid | Excel Discussion (Misc queries) | |||
Combining text and cell value to create a sentence | Excel Discussion (Misc queries) |