Setting AutoCommit and Lock in a PocketBuilder application script

If you are developing a PocketBuilder application that connects to a database, you must specify the required connection parameters in the appropriate script as properties of the default Transaction object (SQLCA) or a Transaction object that you create. For example, you might specify connection parameters in the script that opens the application.

AutoCommit and Lock are properties of SQLCA. As such, they are the only database preferences that you can set in a PocketBuilder script. You can do this by:

For more about using Transaction objects to communicate with a database in a PocketBuilder application, see Chapter 16, “Using Transaction Objects.”