Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

DataField Property, SftMask Object

Defines the field name to which the control is bound.

Syntax

Get

VB.NETFieldName = object.DataField As String
VBFieldName = object.DataField As String
C#.NETstring FieldName = object.DataField;
VC++_bstr_t FieldName = object->DataField;
_bstr_t FieldName = object->GetDataField();
CHRESULT object->get_DataField(BSTR* FieldName);

Put

VB.NETobject.DataField = FieldName As String
VBobject.DataField = FieldName As String
C#.NETstring object.DataField = FieldName;
VC++_bstr_t object->DataField = FieldName;
void object->PutDataField(_bstr_t FieldName);
CHRESULT object->put_DataField(BSTR FieldName);

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.

See Also SftMask Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.