.NET Framework Class Library
Database.Query Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Database Class > Database Methods >

.NET Framework Class Library
Database.Query Method

Given the identifier of a DBWorks document, it fetches from the DOCUMENT table of the DBWorks database the value of the assigned field.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function Query ( _

 id As String, _
 dtype As DocType, _
 fieldName As String _
As String

C#

public string Query(

 string id,
 DocType dtype,
 string fieldName
)

Visual C++

public:

StringQuery(
 Stringid,
 DocType dtype,
 StringfieldName
)

JavaScript

function query(iddtypefieldName);

Parameters

id

Type: System.String
name of a document

dtype

Type: MwPDMApi.DocType
document type

fieldName

Type: System.String
identifier of an existing field in the Document table of DBWorks.

Return Value

fetched query value

Remarks

See Also

Database Class

Database Members

MwPDMApi Namespace