Login
`
Templates, Tools and Utilities
|
||
![]() |
![]() |
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Getting ErrorCode from ABC Methods 2004-06-07 -- Dennis Evans > FileManager.throwMessage, before the parent call
>
> if (ErrorNumber = Msg:DuplicateKey)
> deal with duplicate
> end
that will only get the error for insert, for both tryInsert and Insert
after the call
if (access:fname.tryInsert() <> level:benign)
if (access:fName.getError() = Msg:DuplicateKey)
handle duplicate
else
other errors
end
end
Today is March 31, 2025, 11:57 am This article has been viewed 35326 times.
|
|