`
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 December 3, 2024, 11:53 am This article has been viewed/printed 35242 times. |