PdcProjects.Open

From External Bemet Wiki
Revision as of 10:45, 5 November 2013 by Mike (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

Open(ProjectNo as String) as PdcProject

Description

Returns an opened project object with the supplied number

Notes

This method opens the project for the given projectnumber.

Code example

The following code example opens an existing project, changes the description and saves the project.

dim objProject
 
  set objProject = pdc.projects.Open("12345")
  if IsValid(objProject) then
    objProject.Description = "Omschrijving"
    objProject.Save
  end if

Availability

Available since February 2011 (From version 4.2 onwards).