Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Engineering

MDB Object

  • Last UpdatedMar 24, 2023
  • 1 minute read

Member

Name

Type

Purpose

Name

STRING

Name of the MDB, up to 32 characters.

Description

STRING

MDB description, up to 120 characters.

Refno

STRING

String containing Database reference number.

Methods

None of these methods modifies the original object.

Name

Result

Purpose

MDB(DBREF)

MDB

Returns an MDB object, given a DBREF.

MDB(STRING)

MDB

Returns an MDB object, given a name or reference number.

Current()

ARRAY OF DBS

Current databases as an array of DB objects.

Deferred()

ARRAY OF DBS

Deferred databases as an array of DB objects.

Mode()

ARRAY OF STRINGS

Returns ‘NR’ or ‘RW’ for each current DB of the MDB.

You can use the constructors in the following ways:

  • !D = OBJECT MDB(!!CE)

  • !D = OBJECT MDB(!!CE Name

  • !D = !!CE.MDB()

  • !D = !!CE.Name.MDB()

In all cases, '!!CE' is assumed to be a DB database element and '!!CE.Name' is a STRING object containing the element’s name.

These methods should assist performance improvements to AppWare by making it easier to get from Database element to Object.

Command

!ARRAY= MDBS

$ Returns an array of MDB objects in the Project.

Related Links
TitleResults for “How to create a CRG?”Also Available in