Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / November 2007

Tip: Looking for answers? Try searching our database.

SQL Sentence from Text File

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LCK - 28 Nov 2007 17:55 GMT
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
sebastienm - 28 Nov 2007 18:23 GMT
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.

Signature

Regards,
Sébastien
<http://www.ondemandanalysis.com>

> Hi
>
[quoted text clipped - 13 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.