Repository.Xfmea.UpdateXfmeaCause Method

Applies any changes made to an existing FMEA cause. Returns a Boolean value; when true, indicates a successful save.

Syntax
.Xfmea.UpdateXfmeaCause(Cause)

Parameters
Cause
 * Required. The XfmeaCause object to be updated.

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

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

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