SftMask/OCX 6.5

SftMask.DataField Property

Softel vdm, Inc.

Defines the field name to which the control is bound.

Syntax       

Get

VB.NET

FieldName = object.DataField  As String

VB

FieldName = object.DataField  As String

C#.NET

string FieldName = object.DataField;

VC++

_bstr_t FieldName = object->DataField;
_bstr_t FieldName = object->GetDataField();

C

HRESULT object->get_DataField(BSTR* FieldName);

Delphi

FieldName := object.DataField   : WideString;

Put

VB.NET

object.DataField = FieldName  As String

VB

object.DataField = FieldName  As String

C#.NET

string object.DataField = FieldName;

VC++

_bstr_t object->DataField = FieldName;
void object->PutDataField(_bstr_t FieldName);

C

HRESULT object->put_DataField(BSTR FieldName);

Delphi

object.DataField := FieldName   : WideString;

object

A SftMask object.

FieldName

A string that defines the name of one of the fields in the recordset object specified by a data source (see DataSource property).

Comments

The DataField property defines the field name to which the control is bound.

When used as a bound control, SftMask can provide access to specific data in your database. SftMask manages a single field in a recordset and displays the value of a specific field in the current record. The DataSource property of the control defines the data source. The DataField property defines the field name in the recordset object created by the data source. Together, these properties define what data appears in the control.


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com