Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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 November 21, 2024, 12:36 pm This article has been viewed 35235 times.
|
|