+ Reply to Thread
Results 1 to 2 of 2

customizing query

  1. #1
    Registered User
    Join Date
    10-14-2010
    Location
    italy
    MS-Off Ver
    Excel 2003
    Posts
    1

    Unhappy customizing query

    Hello,
    I am using the component microsoft query from Excel to retrieve data to excel from a sql database.
    I am trying to customize the query with some parameters as this link says http://office.microsoft.com/en-us/ex...aspx?CTT=1#BM2

    but the button "Parameter" is unable (gray), what does it depend on? How can I make it work?

    Thank you.

  2. #2
    Forum Contributor
    Join Date
    12-02-2004
    Location
    London
    Posts
    255

    Re: customizing query

    You would need to enter a parameter into the Query from within Microsoft Query. In order to do this enter a criteria into the the criteria field that you want to run the parameter query on. In the value field, rather than entering a fixed value enter a description within square brackets i.e. [Parameter 1]. When the query is then run, a parmeter box will appear, which you enter in a value you wish to return. When the data is returned into Excel, you will then have the parameter button available. From this point on you to choose the way the parameter gets updated.

    Gary

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1