DbPrepareAndExecute

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 DbPrepareAndExecute( SalSqlHandle hSql, SalString lsStmt )

The DbPrepareAndExecute method does the same thing as SqlPrepareAndExecute with added error handling and debug support.

See SqlPrepareAndExecute 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 and execute

Returns

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