PdcProjects.Open: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
== Code example == | == Code example == | ||
The following code example opens an existing project, changes the description and saves the project. | |||
<source lang="vb"> | <source lang="vb"> | ||
dim objProject | |||
set objProject = pdc.projects.Open("12345") | |||
objProject.Description = "Omschrijving" | |||
objProject.Save | |||
</source> | </source> | ||
== Availability == | == Availability == | ||
Available since February 2011 (From version 4.2 onwards). | Available since February 2011 (From version 4.2 onwards). |
Revision as of 10:44, 5 November 2013
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")
objProject.Description = "Omschrijving"
objProject.Save
Availability
Available since February 2011 (From version 4.2 onwards).