Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - AppForge Programming » UltraLite for AppForge API Reference » ULConnection class

LastDownloadTime method Next Page

PrepareStatement method


Prepares a SQL statement for execution.

Syntax

PrepareStatement(
sqlStatement As String, _
persistent_name As String _
) As ULPreparedStatement
Member of UltraLiteAFLib.ULConnection

Parameters

sqlStatement    The SQL statement to prepare.

persistent_name    For Palm applications, the persistent name of the statement.

Returns

Returns a ULPreparedStatement. If there was a problem preparing the statement, an error is raised. You can determine the offset of the statement where the error occurred with the SQLErrorOffset property.