Advertisement

01.14.2008 at 01:36PM PST, ID: 23082223
[x]
Attachment Details

Follow-up question to: How can I use a cell value to update my Command text using the OLE DB Query in Excel

Asked by pu_boilermakers in Microsoft Excel Spreadsheet Software

Tags: Excel

In "How can I use a cell value to update my Command text using the OLE DB Query in Excel", there was a working solution that I am able to reproduce.  However, there seems to be a limitation on this solution.  What can we do to accept a cell value into an OLE DB Query when the query "Cannot be displayed graphically?

I've attempted to include the ? or [Question?] syntax into the query command text window, but it gives me the error "Table TABLENAME cannot be added".

To easily create a query that cannot be viewed graphically, I created a query like this against one of our tables:  select column1, count(column2) from table1 where column3 = value group by column1

Thanks for your input.
Start Free Trial
[+][-]01.14.2008 at 02:11PM PST, ID: 20657479

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.14.2008 at 02:34PM PST, ID: 20657681

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Excel Spreadsheet Software
Tags: Excel
Sign Up Now!
Solution Provided By: rorya
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628