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