`
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 October 24, 2026, 3:02 pm This article has been viewed/printed 36284 times. |