Difference between revisions of "Driving a SQL Connection from an Excel range"
m (Text replacement - "XLCubed" to "FluenceXL") |
|||
Line 10: | Line 10: | ||
* [[SQL Data Tables (Administrators)]] | * [[SQL Data Tables (Administrators)]] | ||
* [[SQL Data Tables (Standard Users)]] | * [[SQL Data Tables (Standard Users)]] | ||
− | * [[XL3QueryTableSetConnectionString]] for a similar feature in | + | * [[XL3QueryTableSetConnectionString]] for a similar feature in FluenceXL 6.5 and previous versions |
[[Category:Relational Reporting]] | [[Category:Relational Reporting]] |
Latest revision as of 15:53, 3 July 2023
The relational connection used by Tables and other objects can be driven from a range.
To do this, when creating the connection:
- Type a valid connection string into an Excel cell, for example:
Provider=SQLOLEDB;Data Source=localhost;Initial Catalog=AdventureWorksDW;Trusted_Connection=Yes - Select the Custom OLEDB Connection option from the connection type dropdown:
- Click the Select Range button
- Select the cell you typed the connection string into in step 1
See Also
- SQL Data Tables (Administrators)
- SQL Data Tables (Standard Users)
- XL3QueryTableSetConnectionString for a similar feature in FluenceXL 6.5 and previous versions