If I have PowerPivot Connection with 8 tables in the data model, can I extract the Command Text for each with VBA?

I have a data model with a single PowerPivot connection to an Oracle database. This model had eight tables in it which all use the same "Existing Connection".  I can get the Query from the first Table connection using Command Text, however,
I do not know how to get the CommandText of each of the additional tables associated with the same connection. 
With wsConnList
.Cells(lngRow, 1).Value = wbTarget.Connections("Conn").Name
.Cells(lngRow, 2).Value = wbTarget.Connections("Conn").OLEDBConnection.CommandText
End With
Thanks, Barbara

Any suggestions for the amazing Barbara on this topic?
Barbara, you can also ask the BI Advisors if we're not having luck here.
Thanks!
Ed Price, Azure & Power BI Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it!

Similar Messages

  • Im having problems with my iPod Touch 2nd gen. It's disabled and tells me to connect to iTunes. But when I do that, iTunes wont detect the iPod.I have put the iPod in USB- mode, and by that I mean I have tried connecting with holding the home button Help?

    It's disabled and tells me to connect to iTunes. But when I do that, iTunes wont detect the iPod.I have put the iPod in USB- mode, and by that I mean I have tried connecting with holding the home button when connecting the USB. Help?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

  • I have no connection with skype,

    I
    I have no connection with skype,can not call,video..
    Enough credit.Wat is the problem

    Try posting your question in the "iPad" area.
    https://discussions.apple.com/community/ipad/using_ipad

  • Does anyone have trouble connecting with VZnavigator?

    Does anyone have problems connecting with VZnavigator?

    IDK how often that app is really updated with bug fixes or maps, but HERE maps is free and uses no data for offline navigation and Google Maps is really good, but it doesnt have offline navigation.  I personally use HERE Maps.

  • HT201412 phone will not connect with iTunes, so you can not run, and I unlocked it and got the message that it is unlocked and I have to connect with the tunes.

    phone will not connect with iTunes, so you can not run, and I unlocked it and got the message that it is unlocked and I have to connect with the tunes.

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen, not responding, how to fix
    http://appletoolbox.com/2012/07/ipad-frozen-not-responding-how-to-fix/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

  • I had been using iMessage all along with my friend who is using an iPhone 6. I choose to send a sms to him as I do not have any connection, after that there is no way I can send him an iMessage again. Can anyone advise how do I switch back?

    I had been using iMessage all along with my friend who is using an iPhone 6. I choose to send a sms to him as I do not have any connection, after that there is no way I can send him an iMessage again. Can anyone advise how do I switch back? I had tried resetting the network setting, toggling off the sms but to no avail.
    Thank you.
    Regards

    What do you mean you choose to send him an SMS because you don't have any connection. What kind of connection? Delete the thread with that individual that you sent via SMS, and as long as you have iMessage activated on your device and your friend has an active data connection, it should recognize that and send as an iMessage. Another scenario is to have the friend send you a message that you can respond to.

  • HT4972 I am trying to update ipod touch from ios 4.3.2 to ios 6.1.3.  I have it connected to my computer, and the summary in itunes indicates the update is available.  However, when I click "update", it opens Windows Explorer and waits for a file name to

    I am trying to update ipod touch from ios 4.3.2 to ios 6.1.3.  I have it connected to my computer, and the summary in itunes indicates the update is available.  However, when I click "update", it opens Windows Explorer and waits for a file name to open.

    I am not at that computer now, but I did check via windows update & with the check updates menu choice in the itunes program  - neither indicated a newer version of itunes is available. (it is a vista computer).
    The itunes software on the computer displays my ipod & the current ios (4.3.2), and indicates a newer ios is available (6.1.3). When I choose "update", I am taken to Windows Exploer and prompted to choose a file to open. it is as if the "update" button has the incorrect code attached to it.
    The ipod is working, but there are several app I would like to install, but I can't with the current ooperating system.

  • HT1222 I was trying to update my iOS to 7.1 but I can't, I have internet connection but if requires WiFi? before I can update my OS just using my phone internet but now I can't. Does OS 7.1 really require WiFi? Thanks!

    I was trying to update my iOS to 7.1 but I can't, I have internet connection but if requires WiFi? before I can update my OS just using my phone internet but now I can't. Does OS 7.1 really require WiFi? Thanks!

    The iPhone requires wi-fi to update if you try to update over the air, since the phone needs to reboot, thus disconnecting itself. You can update via iTunes and the computer, but you would not be able to tether to the phone for the internet connection, since the phone would disconnect. So, you can either update via wi-fi and the phone, or you can update with a computer that has an internet connection other than the phone.

  • I'm using iTunes 9 and I recently just bought AirPort Express. I have used it before in the past put the problem I have now is that I cannot select the Express network for my speakers. Does Airport Express only work with iTunes 10 or 11?

    I'm using iTunes 9 and I recently just bought AirPort Express. I have used it before in the past put the problem I have now is that I cannot select the Express network for my speakers. Does Airport Express only work with iTunes 10 or 11?

    Hello Hornet12,
    Indeed, iTunes 10.2 or later will be required to utilize AirPlay.
    Using AirPlay
    http://support.apple.com/kb/HT4437
    AirPlay requirements and capabilities
    To get full AirPlay features, make sure your AirPlay-enabled devices are running the latest software updates. The table below identifies minimum AirPlay requirements and capabilities:
    Stream content from
    Requirement
    Notes
    iPad
    iOS 4.3 or later.1
    From the Videos, iPod, Photos, Music, and YouTube apps on iOS devices, stream videos, music, and photos to an Apple TV (2nd and 3rd generation), or stream music to an AirPort Express or compatible third-party device.
    With iOS 4.3 and later, you can also stream video and audio from a website or a third-party app installed on your iOS device if the developer for the app or website has added AirPlay functionality.
    iPhone (3GS or later)
    iPod touch
    (2nd generation or later)
    Computer
    iTunes 10.2 or later.
    Stream videos and music from your iTunes library to an Apple TV (2nd and 3rd generation), or music to an AirPort Express or compatible third-party device.
    Apple TV
    Apple TV software version 5.1 or later.
    Stream music from your Apple TV to another Apple TV (2nd and 3rd generation), to an AirPort Express or compatible third-party device.
    Cheers,
    Allen

  • HT200160 recently spent money on downloading 8.2 and now i have no connectivity to three MacBooks in the network only Time Machine

    recently spent money on downloading 8.2 and now i have no connectivity to three MacBooks in the network only Time Machine

    recently spent money on downloading 8.2 and now i have no connectivity to three MacBooks in the network only Time Machine

  • I bought an audiobook in itunes on my pc and I can not get it to push to my iphones.  Do I physically have to connect to itunes to get the audiobook on my iphone?

    I bought an audiobook in itunes on my pc and I can not get it to push to my iphones.  Do I physically have to connect to itunes to get the audiobook on my iphone?

    Audiobooks are currently a one-time only download, so if you're asking whether you need to connect the iPhone to your computer's iTunes (if that is where you've downloaded it) in order to get the audiobook on it then yes, you will need to sync it the phone, you can't re-download it on the phone.

  • Can I plot 2 locations at the same time for each record in a table

    I'm trying to plot 2 Locations (2 points on a Power View Map) at the same time for each record/project in a table
    I can plot 1 location for each project of course with no problem
    but I'm trying to show the Begin Point and the
    End Point for each project at the same time
    Is this even possible?

    First of all THANKS this worked!
    But now I stumbled on another issue. So I actually have 3 tables (and I've adopted them to the file you sent)
    Table 1 => TripData
    Trip
    LongLat
    Location
    Type
    TypeCode
    Size
    NW Tour
    47.568077, -122.320800
    Seattle, WA
    Begin
    0
    1
    NW Tour
    47.035608,   -122.884812
    Olympia,   WA
    End
    1
    1
    Cali Trip
    37.808848, -122.412580
    San Francisco, CA
    Begin
    0
    1
    Cali Trip
    32.682611, -117.178348
    San Diego, CA
    End
    1
    1
    Table 2 =>
    TripInfo
    Trip
    OneLongLat
    NTP
    NW Tour
    47.568077, -122.320800
    1/1/2015
    Cali Trip
    37.808848, -122.412580
    1/5/2015
    Table 3 =>
    ALLTrips
    Trip
    Stop
    Owner
    NW Tour
    1
    Owner1
    NW Tour
    2
    Owner2
    NW Tour
    3
    Owner3
    NW Tour
    4
    Owner4
    NW Tour
    5
    Owner5
    Cali Trip
    1
    Owner6
    Cali Trip
    2
    Owner7
    Cali Trip
    3
    Owner8
    Cali Trip
    4
    Owner9
    Cali Trip
    5
    Owner10
    Cali Trip
    6
    Owner11
    This is how the Diagram View looks like in PowerPivot
    Trip Data => Trip Info <= ALLTrips
    Since I don't know how to post pictures
    The MAP FIELDS are as follows
    SIZE - Count of Stop(s)
    LOCATIONS - OneLongLat followed by
    LongLat (drill down feature)
    COLOR - Trip
    The problem now happens with the drill down feature
    You can either plot OneLongLat which is the general location for each trip
    Or LongLat of each trip which shows the begin and end points
    But you can't use the drill down feature???
    If instead of OneLongLat you use a
    State Column it actually works!!!
    I wonder if it has to do with the fact that both locations used for the drill down are Long/Lat numbers???
    Any suggestions???
    And again Thanks for the response!

  • Change field value in a table, based on another field value in the same row (for each added row)

    Please Help, I want to change field value in a table, based on another field value in the same row (for each added row)
    I am using this code :
    <HTML>
    <HEAD>
    <SCRIPT>
    function addRow(tableID) {
    var table = document.getElementById(tableID);
    var rowCount = table.rows.length;
    var row = table.insertRow(rowCount);
    var colCount = table.rows[0].cells.length;
    for(var i=0; i<colCount; i++ ) {
    var newcell = row.insertCell(i);
    newcell.innerHTML = table.rows[1].cells[i].innerHTML;
    switch(newcell.childNodes[0].type) {
    case "text":
    newcell.childNodes[0].value = "";
    break;
    case "checkbox":
    newcell.childNodes[0].checked = false;
    break;
    case "select-one":
    newcell.childNodes[0].selectedIndex = 0;
    break;}}}
    function deleteRow(tableID) {
    try {var table = document.getElementById(tableID);
    var rowCount = table.rows.length;
    for(var i=0; i<rowCount; i++) {
    var row = table.rows[i];
    var chkbox = row.cells[0].childNodes[0];
    if(null != chkbox && true == chkbox.checked) {
    if(rowCount <= 2) {
    alert("Cannot delete all the rows.");
    break;}
    table.deleteRow(i);
    rowCount--;
    i--;}}}catch(e) {alert(e);}}
    </SCRIPT>
    </HEAD>
    <BODY>
    <INPUT type="button" value="Add Row" onClick="addRow('dataTable')" />
    <INPUT type="button" value="Delete Row" onClick="deleteRow('dataTable')" />
    <TABLE id="dataTable" width="350px" border="1">
    <TR>
    <TD width="32"></TD>
    <TD width="119" align="center"><strong>Activity</strong></TD>
    <TD width="177" align="center"><strong>Cost</strong></TD>
    </TR>
    <TR>
    <TD><INPUT type="checkbox" name="chk"/></TD>
    <TD>
    <select name="s1" id="s1">
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    </select>
    </TD>
    <TD><input type="text" name="txt1" id="txt1"></TD>
    </TR>
    </TABLE>
    </BODY>
    </HTML>

    Hi,
    Let me make sure u r working with table control.
    First u have to create a event(VALIDATE) to do the validation.
    Inside the event,
    1. First get the current index where user has pointed the curson
    2. Once u get the index read the internal table with index value.
    3. Now u can compare the col1 and col2 values and populate the error message.
    1. DATA : lo_elt TYPE REF TO if_wd_context_element,
                   l_index type i.
    lo_elt = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
         CALL METHOD LO_ELT->GET_INDEX( RECEIVING  MY_INDEX = l_index.
    above code should be written inside the event.
    Thanks,

  • I am looking to start developing apps for the iTunes Store, but I have no previous experience. What is the best way for me to start on this? As in which programs and materials must I need and what I need to know. Thanks!

    I am looking to start developing apps for the iTunes Store, but I have no previous experience. What is the best way for me to start on this? As in which programs and materials must I need and what I need to know. Thanks!

    You will need a Mac, with OS X 10.6+ on it, to be able to develop iOS apps.
    There is some info on these pages :
    developer site : https://developer.apple.com
    developing for iOS 7 : https://developer.apple.com/ios7/
    developer support : https://developer.apple.com/support/
    developer forums : https://devforums.apple.com/index.jspa (you will need to be a registered developer to access them)

  • I have registered a credit card for purchasing apps from the app store. My bank has issued a new chip based card and now the 16 digit numbers have changed. How do I register the new card for flowless purchases?

    I have registered a credit card for purchasing apps from the app store. My bank has issued a new chip based card and now the 16 digit numbers have changed. How do I register the new card for flowless purchases?

    Go to Apple Menu > App Store > View my account > sign in and then edit the payment details with the new card details.  
    I am assuming that your card and supporting bank are in the same country as your residential (billing) address and that you are using the App Store of that country.

Maybe you are looking for

  • Null values

    Post Author: Kathleen CA Forum: Data Connectivity and SQL The purpose of the attamy is to pull up any client that was served in a time range.  So we have been using the Intake "{CLIENT.InDateStart}" and the {CLIENT.InDateEnd} as agency open and close

  • How do I code a full screen button?

    I need to code a full screen button for a SWF. I've tried a few ways but I can't get it to work. Here's my Action Script: function goFullScreen():void     if (stage.displayState == StageDisplayState.NORMAL)     stage.displayState=StageDisplayState.FU

  • Web Center app with ADF Security - login problem

    I have a custome Oracle Web Center app. I have a page.html with an embedded login form posting to j_security_check. I've configured the ADF security policies to redirect to a JSPX on successful login. When I try the correct username/password, I get r

  • Approval Date on GRN Printout

    Hi All We had set approval procedures for  GRPO's. The Layout for GRN was designed in crystal reports. Now Our Client need Approval Date to be printed instead of Posting Date. How Can i Achieve this through queries?

  • OpenCL support on PC?

    Hello. I'm in the middle of building a new PC and getting ready for CS6. I was pretty sure that my new gfx card would be the GXT 680 from Nvidia. But then I saw this test: http://www.tomshardware.com/reviews/geforce-gtx-680-review-benchmark,3161-15.h