var oTView = pMe.Items("../TrendView");var nErr = oTView.LastErr;if (nErr) Pm.Debug(oTView.LastErrText);
Dim oTView, nErrSet oTView = pMe.Items("../TrendView")Set nErr = oTView.LastErrIf nErr Then Pm.Debug oTView.LastErrTextEnd If