DbPrepare

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean DbPrepare( SalSqlHandle hSql, SalString lsStmt )

The DbPrepare method does the same thing as SqlPrepare with added error handling and debug support.

See SqlPrepare in IFS Client Developer documentation for more information.

Parameters

Name Description
SalSqlHandle hSql Handle that identifies the database connection.
SalString lsStmt The sql statement to compile

Returns

The return value is TRUE if the method succeeds, FALSE otherwise.