GetDBCode – PB Docs 150

GetDBCode method (Transaction Object control)

Description

Reports the database vendor’s error code when the
most recent database operation resulted in an error.

Controls

Web ActiveX Transaction Object
control

Syntax

Return Values

A number whose meaning is defined by the database vendor.

Usage

Call GetSQLCode to find out if an error
occurred before calling GetDBCode to get details
about the error.

Examples

This example checks whether an error occurred before
getting the database vendor’s error code:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x