var oTView = pMe.Items("../TrendView"); var nErr = oTView.LastErr; if (nErr) { Pm.Debug(oTView.LastErrText); }
Dim oTView Set oTView = pMe.Items("../TrendView") Dim nErr Set nErr = oTView.LastErr If nErr Then Pm.Debug oTView.LastErrText End If