.NET Framework Class Library
DataForm.EditRecord Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > DataForm Class > DataForm Methods >

.NET Framework Class Library
DataForm.EditRecord Method

Open the data input mask for editing the data of the selected item.

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

Syntax

Visual Basic

Public Sub EditRecord ( _

 Optional docUid As String = "", _
 Optional noInputMode As Boolean = True, _
 Optional fieldNameToBeDisplayed As String = "" _
)

C#

public void EditRecord(

 string docUid = "",
 bool noInputMode = true,
 string fieldNameToBeDisplayed = ""
)

Visual C++

public:

void EditRecord(
 StringdocUid = L"",
 bool noInputMode = true,
 StringfieldNameToBeDisplayed = L""
)

JavaScript

function editRecord(docUidnoInputModefieldNameToBeDisplayed);

Parameters

docUid (Optional)

Type: System.String
Optional. The unique id of the record to edit

noInputMode (Optional)

Type: System.Boolean
Optional. If TRUE no input dialos is shown, FALSE otherwise (used if docUid is specified)

fieldNameToBeDisplayed (Optional)

Type: System.String
Optional. The name of a DOCUMENT table field (used if docUid is specified). The first tab in the Edit mask that contains such field will be shown as front tab when editing

Remarks

If no docUid is specified, DBWorks browser must be open.

See Also

DataForm Class

DataForm Members

MwPDMApi Namespace