Repository.Xfmea.UpdateXfmeaEffect Method

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

Syntax
.Xfmea.UpdateXfmeaEffect(Effect)

Parameters
Effect
 * Required. The XfmeaEffect object that represents the FMEA effect to be updated.

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

VBA MyRepository Repository MyRepository.ConnectToAccessRepository AEffect XfmeaEffect MyRepository.Project.SetCurrentProject(1) AEffect = MyRepository.Xfmea.GetXfmeaEffect(1) AEffect.Dsc = MyRepository.Xfmea.UpdateXfmeaEffect(AEffect)

VB.NET MyRepository Repository MyRepository.ConnectToAccessRepository AEffect XfmeaEffect MyRepository.Project.SetCurrentProject(1) AEffect = MyRepository.Xfmea.GetXfmeaEffect(1) AEffect.Dsc = MyRepository.Xfmea.UpdateXfmeaEffect(AEffect)