PdcOverview.GetMaterialPrognosis

From External Bemet Wiki
Revision as of 06:41, 7 October 2019 by TC (talk | contribs)
Jump to navigation Jump to search

Declaration

GetMaterialPrognosis as PdcGetMaterialPrognosis

Description

Generates the calculationoverview "Material Prognosis".

Notes

Code example

Dim aView
Dim aTableName
dim aQuery

set aView = pdc.overview
aTableName = aview.GetMaterialPrognosis

msgbox aTableName

set Qry = pdc.Database.OpenQuery(5) '5 = tempfiles
Qry.SQL = "SELECT * FROM " & aTableName
if Qry.Execute then
  if Qry.RecordCount > 0 then
     msgbox Qry.RecordCount
   else
     msgbox "no records"
   end if
else
   msgbox pdc.LastError
end if

Availability

Available since October 2019 (From version 5.5)