Click or drag to resize

MPInterfacebImportPhasesByAccessDatabase Method

Reads the MARIProjektImportData.mdb and the table MARIProjektImportProjectPhases. See clsImportBase.eImportMode for tables in MS Access updated, when a phase is stored.

See clsImportPhase for the required fields in the table.

Namespace:  MARIInterface
Assembly:  MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntax
public bool bImportPhasesByAccessDatabase(
	string sDatabaseFileName,
	clsImportBaseeImportMode nImportMode,
	ref int lCountPhaseByRef,
	ref int lCountImportedByRef
)

Parameters

sDatabaseFileName
Type: SystemString
Path and filename of the access databasefile MARIProjectImportData.mdb
nImportMode
Type: MARIInterfaceclsImportBaseeImportMode
Type of validation. See eImportMode for details.
lCountPhaseByRef
Type: SystemInt32
Indicates total rows in the given table
lCountImportedByRef
Type: SystemInt32
Indicates total imported rows in MARIProject

Return Value

Type: Boolean
lCountProjects,lCountImported and true if no error
Remarks