.NET Framework Class Library
Database.SetNullFieldData Method

<< Click to Display Table of Contents >>

Navigation:  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(
 Stringdatasource,
 Stringtable,
 Stringfield_to_set,
 Stringkey,
 Stringkeyvalue
)

JavaScript

function setNullFieldData(datasourcetablefield_to_setkeykeyvalue);

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