Jump to: navigation, search

Difference between revisions of "Activity:CreateOLEExcelScope (Activity)"


(Created page with "The CreateOLEExcelScope opens an Excel file and provides access to its workbooks and sheets. {{Attention|Only Excel 97-2003 (*.xls) is supported yet!}} =Description= {{Activ...")
(No difference)

Revision as of 13:22, 23 February 2015

The CreateOLEExcelScope opens an Excel file and provides access to its workbooks and sheets.

IC Attention.pngOnly Excel 97-2003 (*.xls) is supported yet!
[edit]

Description

Create OLE Excel Scope
Name CreateOLEExcelScope
Purpose Open an Excel file via OLE
Category UBIK Data Exchange
Returns True if successful
Version 2.4.1+

Arguments

Argument Type Direction Purpose
DataSource String In The unique name of the database to connect to
InitialCatalog String In The database instance to connect to
UserName String In The user name to connect with
Password String In The corresponding password for the user
Tables List<OLETableDescriptor> Out A list of all found tables in the database
Result Boolean Out True if successful, false if failed

Usage

This activity is used to start the communication with an OLE compliant data source. It is a nestable activity, which means it can host any amount of sub-activities that will be processed sequentially. The hosted activities are typically CreateOLETableScope activities, either as direct children but also wrapped within looping activities like ForEach or While.

Example

The CreateOLESQLScope activity, as used in the larger example "Read MetaClass names from UBIK database":

UI Activity CreateOLEDBScope Example.png

See also