PLIsValidDatabase

<< Click to Display Table of Contents >>

Navigation:  PipeLay > Excel Add-In > Function Reference > General Functions >

PLIsValidDatabase

Previous page Next page

PURPOSE

Checks to see if a database is valid and returns the status of the specified database.

SYNTAX

PLIsValidDatabase( DatabaseName )

PARAMETERS

DatabaseName (Character String)

The full path and filename to the relevant database. The file extension is optional.

OUTPUT

An integer value with one of the following values:

0

Database is Valid.

1

Database has changed.

-1

Force Database is missing.

-2

Motion Database is missing.

-999999998

Invalid Database (both databases are missing).

-999999997

Invalid Characters in filename.

-999999991

Database Name is Empty

-999999989

Database format is old and may not produce correct results.

SEE ALSO

Error Codes

PLIsValidDatabaseAsText

PLUpdateHeaderIfChanged

Back to Table of Contents