` Getting errorcode ABC (John Dunn ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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


Today is November 21, 2024, 8:29 am
This article has been viewed 35232 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: