RAD Studio 10.4.1 is now available! Learn more. Looking for discounts? Visit our Special Offers page!
CodeDatabaseDelphiRAD Studio

Learn More About The FireDAC Connection Object In This RAD Studio Sample App

This sample uses the ConnectionDefName property of the TFDConnection to specify the name of the connection definition to use.

Location

You can find the TFDConnection\InfoReport sample project at:

Description

The demo calls the GetInfoReport method to provide the report. The FireDAC environment report contains detailed information including:

  • FireDAC and RAD Studio versions
  • Connection definition parameters
  • Database client software name and version
  • Database server software name and version
  • Database session information

How to Use the Sample

  1. Navigate to the location given above and open:
    • Delphi: FireDACConnInfo.dproj
  2. Press F9 or choose Run > Run.
  3. Select one of the following options:
    • Click Get report: Populates the TMemo with detailed information about the connection status.
    • Click Get versions: Gets the DBMS client and server versions.

Implementation

  • Get report button:

It calls the GetInfoReport method of the TFDConnection component to populate the TMemo with detailed information about the connection status.

  • Get versions button:

It uses the IFDPhysConnectionMetadata interface to get the client and server versions.

See ConnectionMetaDataIntf for more information.

The link below will redirect you to the original post:

http://docwiki.embarcadero.com/CodeExamples/Sydney/en/FireDAC.InfoReport_Sample


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Learn More About Upgrading

Related posts
C++Delphi

Ultimate Compression Toolkit For Delphi And C++ Builder Developers

CodeDatabaseDelphi

Hit The Ground Running With Windows Native MongoDB Database Sample Apps For Delphi

C++DelphiRAD Studio

Beautiful Responsive Home Screen UI Templates For FireMonkey Available For Free Via GetIt In The IDE

Delphi

Flexible VCL Style Utils Library Made It Easy To Modernize The Dev-C++ Dialogs With VCL Styles In Delphi

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES