.NET Framework Class Library
Database.SetNullFieldData Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > Database Class > Database Methods >

.NET Framework Class Library
Database.SetNullFieldData Method

Sets, in a given table of a datasource, a string field using a key field and key value

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

Syntax

Visual Basic

Public Sub SetNullFieldData ( _

datasource As String, _
table As String, _
field_to_set As String, _
key As String, _
keyvalue As String _
)

C#

public void SetNullFieldData(

string datasource,
string table,
string field_to_set,
string key,
string keyvalue
)

Visual C++

public:

void SetNullFieldData(
String^ datasource,
String^ table,
String^ field_to_set,
String^ key,
String^ keyvalue
)

JavaScript

function setNullFieldData(datasource, table, field_to_set, key, keyvalue);

Parameters

datasource

Type: System.String
name of a valid datasource or "@USEDEFAULTDATASOURCE" to force the usage of the default application datasource

table

Type: System.String
name of an existing table in the specified datasource

field_to_set

Type: System.String
name of the field in which the value has to be set

key

Type: System.String
field of which the value will be checked to determine the query selection

keyvalue

Type: System.String
value that will be checked to determine which records to read

Remarks

See Also

Database Class

Database Members

MwPDMApi Namespace