PLIsValidDatabaseAsText

<< Click to Display Table of Contents >>

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

PLIsValidDatabaseAsText

Previous page Next page

PURPOSE

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

SYNTAX

PLIsValidDatabaseAsText( DatabaseName )

PARAMETERS

DatabaseName (Character String)

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

OUTPUT

A character string containing the status of the database. The table below shows the results from PLIsValidDatabase and the corresponding string that PLIsValidDatabaseAsText returns.

0

Database is Valid.

1

Database has changed.

-1

Force Database is missing.

-2

Motion Database is missing.

-999999998

Database is Invalid

-999999997

Database name contains invalid characters

-999999991

Database name is empty

-999999989

Database format is old and may not produce correct results.

SEE ALSO

Error Codes

PLIsValidDatabase

PLUpdateHeaderIfChanged

Back to Table of Contents