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 - Database Management and Reference » UltraLite Connection String Parameters Reference

UltraLite DBF connection parameter Next Page

UltraLite CE_FILE connection parameter


Performs two different functions:

Applies to

An UltraLite client application that connects to a Windows CE device in addition to another platform using the same connection string.

Alternate parameters

If you are connecting from an UltraLite administration tool, or your connection object only connects to a Windows CE database, use DBF.

Syntax

CE_FILE=path\ce-db

Default

The default depends on what you set:

Recommendation

Always explicitly specify the parameter; do not rely on the default behavior.

Remarks

This parameter takes precedence over the DBF parameter.

The value of CE_FILE must meet the file name requirements for Windows CE.

If you include an absolute path to the database, then all directories must exist before setting the path to this file. UltraLite does not create them automatically.

Any leading or trailing spaces in parameter values are ignored. This connection parameter's value cannot include leading single quotes('), leading double quotes ("), or semi-colons(;).

See also
Example

The following example creates a new connection and identifies different database files for the desktop and Windows CE platforms:

Set Connection = DatabaseMgr.OpenConnection("DBF=d:\Dbfile.udb;CE_FILE=\myapp\MyDB.udb")