+ Reply to Thread
Results 1 to 1 of 1

Query with multiple parameters

  1. #1
    Registered User
    Join Date
    03-10-2013
    Location
    Norge
    MS-Off Ver
    Excel 2007
    Posts
    1

    Query with multiple parameters

    I have Excel 2007, using MS Query towards SQL server.
    I need help to find the correct code/method to get the following working:

    I want to run the query below on a number (max 50) of DATA14. DATA14 and ACCID are variables that the user will change. The ACCID parameters will be the same for each column and DATA14 will vary. So for DATA14 =2, I want the result in B7 and C7, for DATA14 =4 in B8 and C8 and so on.
    The idea was to run the query for each parameter set OR to create a table as output, but I do not know how to.

    A B C
    1 ACCID 3000 5000
    2 ACCID 3999 5999
    3
    4
    5
    6 DATA14 Net Net
    7 2
    8 4
    9 10
    ..
    56 110


    Table.gif

    Please Login or Register  to view this content.
    Last edited by jdrotnin; 03-21-2013 at 06:55 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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