WklLinkDifference
WklLinkDifference class
Signature
Dim myWklLinkDifference As WklLinkDifference
Summary
One difference between the configuration and the tables of the front end.
Parameters
None
Remarks
Not created directly; returned by other members of the library.
| Member | Kind | Summary |
|---|---|---|
| `LocalName` | Property | Returns the name of the table in the front end. |
| `Kind` | Property | Returns what differs. |
| `Message` | Property | Returns a description of the difference for the user, in the language of the components. |
| `CanRepair` | Property | Returns whether EnsureLinks or Relink repairs the difference. |
| `Connection` | Property | Returns the connection the table should use. |
| `RemoteName` | Property | Returns the remote table the link should point to. |
Code example
None
Inheritance
None
LocalName property
Signature
Property Get LocalName() As String
Summary
Returns the name of the table in the front end.
Parameters
None
Property value: String – The table name.
Remarks
Default member: it can be left out, as in myWklLinkDifference(...) for myWklLinkDifference.LocalName(...). Read-only.
Code example
None
Inheritance
Declared by WklLinkDifference.
Kind property
Signature
Property Get Kind() As WklLinkDifferenceKind
Summary
Returns what differs.
Parameters
None
Property value: `WklLinkDifferenceKind` – The kind of difference.
Remarks
Read-only.
Code example
None
Inheritance
Declared by WklLinkDifference.
Message property
Signature
Property Get Message() As String
Summary
Returns a description of the difference for the user, in the language of the components.
Parameters
None
Property value: String – The description; for a wrong connection it names the keywords that differ, such as SERVER, DATABASE.
Remarks
Read-only.
Code example
None
Inheritance
Declared by WklLinkDifference.
CanRepair property
Signature
Property Get CanRepair() As Boolean
Summary
Returns whether EnsureLinks or Relink repairs the difference.
Parameters
None
Property value: Boolean – True for a missing link, a wrong connection and a wrong remote table.
Remarks
Read-only.
Code example
None
Inheritance
Declared by WklLinkDifference.
Connection property
Signature
Property Get Connection() As String
Summary
Returns the connection the table should use.
Parameters
None
Property value: String – The Name from USysConnection; an empty string for wldNoConnection and wldUnmanaged.
Remarks
Read-only.
Code example
None
Inheritance
Declared by WklLinkDifference.
RemoteName property
Signature
Property Get RemoteName() As String
Summary
Returns the remote table the link should point to.
Parameters
None
Property value: String – The name as Access stores it for a linked table (dbo.Customer); an empty string for wldNoConnection and wldUnmanaged.
Remarks
Read-only.
Code example
None
Inheritance
Declared by WklLinkDifference.