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 NT_FILE connection parameter Next Page

UltraLite PALM_FILE connection parameter


Performs two different functions:

Applies to

An UltraLite client application that connects to a Palm 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 Palm OS database, use DBF.

Syntax 1: record based stores

PALM_FILE=name

Syntax 2: file-based stores

PALM_FILE=vfs: [ volume-label: | volume-ordinal: ] filename

Default

The default depends on what you set:

Recommendation

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

Remarks

Do not use this parameter with desktop administration utilities; use the DBF parameter instead while working with Palm databases.

The value of PALM_FILE must meet the file name requirements for Palm OS platforms.

If you are developing on AppForge, you also need to use the PALM_DB parameter.

This parameter takes precedence over the DBF parameter.

On file-based stores, always specify the absolute file path. If directories are specified in the full path name, they are created if they do not already exist.

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, Palm OS, and Windows CE platforms:

Connection = DatabaseMgr.OpenConnection("UID=JDoe;PWD=ULdb;
NT_FILE=c:\test\MyTestDB.udb;CE_FILE=\database\MyCEDB.udb;PALM_FILE=MyPalmDB_MyCreatorID")