.NET Framework Class Library
Database.SetStringFieldData Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Database Class > Database Methods >

.NET Framework Class Library
Database.SetStringFieldData 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 SetStringFieldData ( _

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

C#

public void SetStringFieldData(

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

Visual C++

public:

void SetStringFieldData(
 String^ datasource,
 String^ table,
 String^ field_to_set,
 String^ field_value,
 String^ key,
 String^ keyvalue
)

JavaScript

function setStringFieldData(datasource, table, field_to_set, field_value, 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

field_value

Type: System.String
value to 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