top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

"Edit Query" and "Parameters.." both were grayed out in Excel 2010

+2 votes
71 views

I'm using Office 2010 and now I cannot edit existing query and Parameter both buttons are grayed out. Below are the steps I followed.

My requirement is to fetch the data from oracle database from Excel. by passing the three parameters.
1. string
2 and 3 are Date parameters.

steps followed to archive:

  1. setup-ed the ODBC connection in Control panel.
  2. Now back to Excel, open any excel workbook and select Data > From Other Sources > From Data Connection Wizard
  3. selected --> Other Advanced and then “Microsoft OLE DB Provider for Oracle”
  4. updated the connection string
  5. and Command text as
    SELECT * FROM xx_salinfo a, xx_ivcinfo b
    WHERE a.num = b.cd
    AND a.status = NVL(Upper(''''||?||'''',a.status ) -- parameter1
    AND so_wr_dt BETWEEN NVL(''''||?'||''', 01-JAN-05) AND NVL(''''||?||'''', 01-JAN-15) -- parameter2 and 3

But from here I have problem "Edit Query" and "Parameters.." both were grayed out. so im not able to pass/tag the cells values into the parameters.

please help me , how to fix it.

Note: This works fine without parameters. So, nothing wrong in steps.

Thankx,
Arun

posted Jun 23, 2015 by Arun Gowda

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...