FireDAC.Phys.MSAcc.TFDMSAccessService.ResetPassword
Delphi
property ResetPassword: Boolean read FResetPassword write FResetPassword default False;
C++
__property bool ResetPassword = {read=FResetPassword, write=FResetPassword, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Phys.MSAcc.pas FireDAC.Phys.MSAcc.hpp |
FireDAC.Phys.MSAcc | TFDMSAccessService |
Description
Specifies whether or not to reset the database password.
Use the ResetPassword property to reset the database password for the Compact and Repair methods. The Password property value should be set to the current database password.
Example 1
// Reset password for secured database FDMSAccessService1.Database := 'c:\test.mdb'; FDMSAccessService1.Password := 'J@^^1234pw'; FDMSAccessService1.ResetPassword := True; FDMSAccessService1.Compact;