PdcApplication.ShowRelation: Difference between revisions
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Description == | == Description == | ||
Opens the | Opens the relation card from the given relationnumber. | ||
== Notes == | == Notes == | ||
This function opens the | This function opens the relation card from the given relationnumber. | ||
When the relationnumber is not found the last error string is filled with a message. | When the relationnumber is not found the last error string is filled with a message. | ||
== Code example == | |||
This code opens the relation card from relationnumber '00462'. | |||
<source lang="vb"> | |||
Sub Start | |||
if not pdc.showRelation("00462") then | |||
msgbox pdc.LastError | |||
end if | |||
End Sub | |||
</source> | |||
== Availability == | |||
Available since July 2013 (From version 4.3). |
Latest revision as of 11:22, 25 July 2013
Declaration
ShowRelation(Relno as String)
Description
Opens the relation card from the given relationnumber.
Notes
This function opens the relation card from the given relationnumber. When the relationnumber is not found the last error string is filled with a message.
Code example
This code opens the relation card from relationnumber '00462'.
Sub Start
if not pdc.showRelation("00462") then
msgbox pdc.LastError
end if
End Sub
Availability
Available since July 2013 (From version 4.3).