Click or drag to resize
ImportExportGenerateSubjects Method DataPA OpenAnalytics
DataPA OpenAnalytics API Reference
Import default subjects from the database.

Namespace: DataPAClientConfig
Assembly: DataPAClientConfig (in DataPAClientConfig.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public bool GenerateSubjects(
	string SystemName,
	ref DataTable tmpTables,
	bool FieldNamesAsLabels = false,
	bool DBQualified = false,
	bool FieldsAsConditions = false,
	ref string ErrorString = "",
	ref Object pbProcessing = null
)

Parameters

SystemName
Type: SystemString
Required. The system the subjects are loaded to
tmpTables
Type: System.DataDataTable
Required. DataTable containing list of tables to import. cTable(Str) iDBID(Int) iTableID(Int)
FieldNamesAsLabels (Optional)
Type: SystemBoolean
Optional. TRUE use fields names as labels FALSE use database labels (default)
DBQualified (Optional)
Type: SystemBoolean
Optional. If using field names as labels, whether to qualify them with the DB name (default No)
FieldsAsConditions (Optional)
Type: SystemBoolean
Optional. Allow ALL fields to be as used as conditions? Default False only sets indexed fields.
ErrorString (Optional)
Type: SystemString
Optional. Descriptive message of any errors encountered.
pbProcessing (Optional)
Type: SystemObject
Optional. Progressbar.

Return Value

Type: Boolean
Remarks