PdcApplication.ShowRelation: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== 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> |
Revision as of 11:21, 25 July 2013
Declaration
ShowRelation(Relno as String)
Description
Opens the relationform 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