Xbasic

DB_HAS_PASSWORD Function

Syntax

Result_Flag as L = db_has_password()

Returns

Result_FlagLogical

Returns .t. if the workspace requires a password, otherwise .f.

Description

Specifies whether or not the workspace requires a password to open it.

Discussion

The DB_HAS_PASSWORD() function returns .T. (TRUE) if the workspace requires a password to open it. Otherwise .f..

Example

? db_has_password()
= .F.

See Also