FireDAC.Phys.MSAcc.TFDMSAccessService
Delphi
TFDMSAccessService = class (TFDPhysODBCBaseService)
C++
class PASCALIMPLEMENTATION TFDMSAccessService : public Firedac::Phys::Odbcbase::TFDPhysODBCBaseService
Contents
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Phys.MSAcc.pas FireDAC.Phys.MSAcc.hpp |
FireDAC.Phys.MSAcc | FireDAC.Phys.MSAcc |
Description
The class implementing Microsoft Access database for creating, dropping, compacting and repairing services.
Use the TFDMSAccessService component to add a database create, drop, repair and compact capability to an application.
To validate and/or repair a database an application should:
- Specify DriverLink.
- Specify Database - a database file to handle.
- Specify Password.
- Call the CreateDB, Drop, Repair or Compact methods.
Read more about these features in CompactDatabase Method and on How to create a secure database.
Note To use Microsoft Access 2007 or higher, you should install Microsoft Access Database Engine Redistributable 2007 or higher. For more information about this engine and install instructions, refer to appropriate Microsoft documentation, such as Microsoft Access Database Engine 2010 Redistributable.
See Also
Samples
- FireDAC MS Access sample