PdcApplication.ShowRelation: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Line 3: Line 3:


== Description ==
== Description ==
Opens the relationform from the given relationnumber.
Opens the relation card from the given relationnumber.
 


== Notes ==
== Notes ==

Revision as of 11:21, 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