Repository.Crew.UpdateCrew

Sends any changes made to an existing crew resource to the Synthesis repository. Returns a Boolean value; when true, indicates a successful save.

Syntax
.Crew.UpdateCrew(crew)

Parameters
crew
 * Required. The cCrew object to be updated.

Example
This example assumes that a crew with ID #1 exists in the first available project of a repository.

VBA MyRepository Repository MyRepository.ConnectToAccessRepository MyCrew cCrew MyRepository.Project.SetCurrentProject(1) MyCrew = MyRepository.Crew.GetCrew(1) MyCrew.Name = MyRepository.Crew.UpdateCrew(MyCrew)

VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository MyCrew cCrew MyRepository.Project.SetCurrentProject(1) MyCrew = MyRepository.Crew.GetCrew(1) MyCrew.Name = MyRepository.Crew.UpdateCrew(MyCrew)