GetSQLCode – PB Docs 150

GetSQLCode method (Transaction Object control)

Description

Reports a code indicating the success or failure of the most
recent database operation.

Controls

Web ActiveX Transaction Object
control

Syntax

Return Values

Number. Possible values are:

  • 0 – Success

  • 100 – Not found

  • -1 – Error

Usage

When GetSQLCode reports an error, call GetDBCode to
get the vendor’s error code.

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