PdcProject.Save

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

Save as Boolean

Description

Notes

This method saves the project in the database. When the save was not succesfull the error message is stored in the LastError.

Code example

This code example creates a new project and saves it.

dim objProject

  set objProject = pdc.Projects.New
  objProject.SetCustomerNo "000002"
  objProject.Status = "A"
  if not objProject.Save then
      msgbox "save niet gelukt " & pdc.LastError
  end if
  set objProject = nothing

Availability

Available since February 2011 (From version 4.2 onwards).