Navigation:  DAO Object Classes > DaoDatabase Class >

DaoDatabase:NewPassword() Method

Previous pageReturn to chapter overviewNext page

Purpose

Changes the password of an existing database

 

Parameters

cOldA string that is the current setting of the password property of the database
cNewA string that is the new setting of the Password property of the database

 

Remarks

The cOld and cNew strings can be up to 14 characters long and can include any characters except the ASCII character 0 ( null ). To clear the password, use a zero-length string ("") for newpassword.

Passwords are case-sensitive.

 

Class

DaoDatabase        

 

Example

Database sample