The code of the selected lookup item. This property is not accessible in the Object Inspector.
object.LinkCode
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISEdit interface |
string
Display some information about the specified edit control, including the code of the selected lookup item.
Dim aEdit
Dim aEditInfo
Set aEdit = Form.Controls_("edtInform")
aEditInfo =_
"Short Name: " & aEdit.ShortName & vbNewLine &_
"TypeName: " & aEdit.TypeName & vbNewLine &_
"Link Code: " & aEdit.LinkCode
Profile.MsgBox(aEditInfo)