PdcAttachmentList.Read: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == Read(tableName, keyStr, Id: string) as Boolean == Description == This function will read the attachments based on the TableName and Id string. == Notes ==..."
 
No edit summary
Line 19: Line 19:


== Availability ==
== Availability ==
Available since January 2013 (4.3).
Changed in 2022 R3

Revision as of 13:05, 30 August 2022

Declaration

Read(tableName, keyStr, Id: string) as Boolean

Description

This function will read the attachments based on the TableName and Id string.

Notes

The keyStr is not used but remains as we have encountered issues in the past by changing the parameters of functions. The keyStr parameter can therefor be entered as empty like in the code example.

Code example

Dim attachmentlist As TPdcAttachmentList
if attachmentlist.Read('DO_CALC', '', '12345') then
//do stuff
end if

Availability

Changed in 2022 R3