`
Par2: Getting errorcode ABC 2004-09-14 -- John Dunn You should be able to get the Clarion error and errorcode like this: Sales:StoreID = 123 IF Access:Sales.Fetch(Sales:IX_StoreID) ~= LEVEL:Benign ThisWindow.Errors.SetErrors() MESSAGE('An error occurred retrieving the Sales Record for store: ' & Sales:StoreID & '. The error is: ' & | ThisWindow.Errors.GetErrorCode(ErrClarion) & ' - ' & | CLIP(ThisWindow.Errors.GetError(ErrClarion)), | 'Sales Retrieval Error',ICON:Exclamation) END ! if Printed November 23, 2024, 10:15 pm This article has been viewed/printed 35235 times. |