Repository.Xfmea.UpdateXfmeaCause Method

Updates the properties of a given FMEA cause in the current project. Returns a Boolean value; when true, indicates a successful update.

Syntax
.Xfmea.UpdateXfmeaCause(Cause)

Parameters
Cause
 * Required. The XfmeaCause object that represents the FMEA cause to be updated.

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

VBA MyRepository Repository MyRepository.ConnectToAccessRepository ACause XfmeaCause MyRepository.Project.SetCurrentProject(1) ACause = MyRepository.Xfmea.GetXfmeaCause(1) ACause.Dsc = MyRepository.Xfmea.UpdateXfmeaCause(ACause)

VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository ACause XfmeaCause MyRepository.Project.SetCurrentProject(1) ACause = MyRepository.Xfmea.GetXfmeaCause(1) ACause.Dsc = MyRepository.Xfmea.UpdateXfmeaCause(ACause)