PdcApplication.ShowRelation: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == ShowRelation(Relno as String)"
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Declaration ==
== Declaration ==
ShowRelation(Relno as String)
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'.
<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).